I am working on MyEclipse and Hibernate examples. I have mysql database installed on my machine. database name is test and user name is mysql/msql.
In DB Exploer i have configured a DB connection as follows
Dirvier : MySQL Connector/J
URL : jdbc:mysql://localhost/test
User name :msql
When I try to connect to this database I am getting the below error.
!MESSAGE Error while trying to login to database
!STACK 0
java.sql.SQLException: Access denied for user ‘mysql’@’localhost’ (using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:771)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3649)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1176)
Please let me know if u have any idea.