Re: [MySQL-Connector] very very strange problem !
Posted by: Mark Matthews
Date: February 25, 2005 11:48AM

maxmaxx wrote:
> Hi everybody!
> Ready to hear a strange story ?
> I have a weird problem to use the MySQL-connector
> under Linux (Debian).
> I have no problem in windows XP, all is working
> fine !
> But under Linux when I try to connect to mysql
> throught mysql-connector wrote in a Servlet I have
> this message :
>
> Message: Invalid authorization specification
> message from server: "Access denied for user
> 'root'@'monkinetwork' (using password: YES)"

Max,

Not a strange problem, just a permissions problem. The grants you have setup on your windows box allow 'root'@'monkinetwork' connect with a given password, the ones on your Linux box do not.

This is covered in the Connector/J docs:

http://dev.mysql.com/doc/connector/j/en/cj-troubleshooting.html#id2629688

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: [MySQL-Connector] very very strange problem !
February 25, 2005 11:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.