What is my root password for MySQL?

Posted on in Categories last updated September 22, 2006

Q. I have just installed mysql. I don’t know how to connect as well as what is my root or mysql admin password for MySQL?

A. Your default mysql password is empty (i.e. no password). For example:

  • Username: root
  • Password: empty

However if you use something like Plesk software use following information:

  • User: admin
  • Password: admin

Above is just a default password. If you are not sure about password, it is best to ask to person who has installed mysql for you.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

3 comment

  1. Nice. I just got gifted a database in which NO-ONE knows the root password. I shall now have to scour the web to find a way around it. Just thought you should know that you’re not alone.

Leave a Comment