I\'m having troubles with my project , it involves JDBC
and Mysql
connection .
When I do the following :
private Statement m_
TO check if mysql has a password, go to the directory where you installed mysql, and in the bin directory try to bring up mysql prompt using
./mysql –u root mysql
If the login goes through without any problem, it means no password is set.
You can use mysqadmin script to set/reset password.
./mysqladmin –u root password "password string"