954,219 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problems connecting to MySQL

Hi,

I am Linux Fedora and having problems connecting to MySQL despite being root. Here is the error when I type mysql at the prompt/terminal.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Can any one help? Thanks...

tech291083
Junior Poster
181 posts since Oct 2006
Reputation Points: 15
Solved Threads: 0
 

The error says it all: you haven't used a password. So when you start the mysql shell, make sure you use the -p option to give you a chance to authenticate yourself.

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: