Well, it looks like the issue was resolved by changing host from "%" to
"localhost".  I don't understand what the "%" is, but that apparently that
fixed it.

I'm pretty sure its not the older driver issue ... this is the first install
of connector/J I've ever put on this machine, and I'm using 3.0 Beta.  :)

Thanks.
Neal

-----Original Message-----
From: Mark Matthews [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 8:03 PM
To: neal
Cc: suresh; mySQL
Subject: Re: JDBC - Access denied (using password: yes)


neal wrote:
> Thanks for the response.
>
> I am using this (where 'bob' is both the uid and the pwd value):
>
> Connection myConn =
> DriverManager.getConnection("jdbc:mysql:///test?user=bob&password=bob");
>
> That does not work.  Dispite having specified a password of 'bob', this
DOES
> work:
>
> Connection myConn =
> DriverManager.getConnection("jdbc:mysql:///test?user=bob&password=");
>
> That's the wierd part.  I'll try explicitly naming localhost but I think
> that is implied(?).
>
> Cheers.
> Neal
>
> -----Original Message-----
> From: suresh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 28, 2002 7:50 PM
> To: neal
> Subject: Re: JDBC - Access denied (using password: yes)
>
>
>
> Are you using Connection con =
>
DriverManager.getConnection("jdbc:mysql://localhost/database_name?user=root"
> ) ;
> If not try this
>
> regards
> Kayamboo Suresh
>
>
> At 07:27 Χ΋ 02/08/28 -0700, you wrote:
>
>>Does anyone know why I would recieve this error, when attmepting to
connect
>>to mySQL via JDBC(driver=Connector/J 3.0 beta) I can connect if I provide
>
> no
>
>>password (even if the account specifies a pwd)?  I can connect correctly
>>using MySQL Front ... but JDBC is giving me this error.
>>
>>javax.servlet.ServletException: Invalid authorization specification:
Access
>>denied for user: '[EMAIL PROTECTED]' (Using password: YES)
>>
>>Thanks.
>>Neal
>>
>>
>>---------------------------------------------------------------------
>>Before posting, please check:
>>   http://www.mysql.com/manual.php   (the manual)
>>   http://lists.mysql.com/           (the list archive)
>>
>>To request this thread, e-mail <[EMAIL PROTECTED]>
>>To unsubscribe, e-mail
>><[EMAIL PROTECTED]>
>>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>

I bet you're actually not using Connector/J. This is a bug from a _very_
old version of MM.MYSQL...Make sure MM.MySQL is not hanging around
_anywhere_ on your CLASSPATH.

        -Mark


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to