Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database connection

 
Vishwanath Krishnamurthi
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...

I am just starting with Hibernate and am using MyEclipse IDE... I tested the database connection in the database explorer (Im using MySql for db) and it works fine... The connection is established. But when I try to run the program it throws an exception-

Caused by: java.sql.SQLException: Invalid authorization specification, message from server: "Access denied for user: 'root@localhost' (Using password: YES)"


What should I be looking at?

Thanks,
Vishwa
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic