Jump to content

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


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!!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.