Access Denied
Posted by: Peter Hawtree
Date: January 17, 2005 11:29AM

I Have just installed mySQL and the JDBC driver on my machine for a degree project.
I have wriiten a simple test program to test the connection.
My connection statement is: con = DriverManager.getConnection("jdbc:mysql:///test", "root", "secret");

which throws the following exception:

Exception: Access denied for user 'root' @ 'localhost' (using password: YES)

Any advice on how to clear this up would be great!



Options: ReplyQuote

Written By
Access Denied
January 17, 2005 11:29AM
January 31, 2005 07:17PM

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.