Jump to content

Can't launch MySQL cmd line, asking for password but none set


chrxr

Recommended Posts

I installed MySQL 5.5.10 with EasyPHP and am trying to open MySQL from the command line. On launching mysql.exe with -u root, I get the message below:

 

ERROR 1045 (28000): access denied for user 'root'@'localhost' (using password: yes)

 

I have never used MySQL before, but I'm sure i never set a password for the root user. In phpMyAdmin there are 3 "Users" in the privileges tab for MySQL:

 

User      Host        Password

Root    127.0.0.1        No

Root    Local Host      No

rooty        %            Yes

 

I set up "rooty" after I get the error above in my bumbling attempts to get into MySQL.

 

Anyone get any ideas as to why I can't get into the MySQL command line?

 

Many thanks in advance!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.