Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

database connection  RSS feed

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

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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!