Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

BashCow Latest Questions

  • 33
  • 33
rylan98

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

I’m trying to run WordPress on my Windows desktop, and it requires MySQL.

I used the Web Platform Installer from Microsoft to install everything. I never set a root password for MySQL, but during the final step of the WordPress installation, it asks for a MySQL server password.

What is the default root password (if there is one), and how can I change it?

I tried:

mysql -u root password '123'

But it shows

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

 

Related Questions

1 Answer

  1. Use mysql -u root -p It will ask for password, insert password and enter.

    Use mysql -u root -p It will ask for password, insert password and enter.

    See less
Leave an answer

Leave an answer