MySQL Error

  • Manju-Saravanan
  • Born
  • Born
  • Manju-Saravanan
  • Posts: 2

Post 3+ Months Ago

Hi,

I m creating a simple table in MySQL. i want to display the content. while running in Tomcat, i got the error as

java.sql.SQLException: Invalid authorization specification message from server: "Access denied for user 'root'@'localhost' (using password: NO)"

i dont know what to do?
can anyone help me?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Well, first of all... you are not putting in a Password... I don't know if your MySQL has a password or not, but that is probably the first thing to check.

Then make sure you got the correct user and host. By default (Well, usually) the host would be 'localhost'.

What the error message basically says, is that it can't connect to MySQL.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 72 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.