Re: java program works for MySQL on Windows, but not Linux
Posted by: Evan Hanusa
Date: February 28, 2005 03:39PM

I had a similar problem...I had specified a password for remote connections, but if I tried to use a password when I was on the server, I got that error...the solution was either to set a password for root@localhost, or connect without a password when I'm on the localhost. As a test, try to connect to the mysql server via:

mysql -u root -p
(type your password)

and then

mysql -u root

The latter should let you on.

Options: ReplyQuote


Subject
Written By
Posted
Re: java program works for MySQL on Windows, but not Linux
February 28, 2005 03:39PM


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.