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)"