What is my root password for MySQL?

by on September 22, 2006 · 3 comments· last updated at 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.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 3 comments… read them below or add one }

1 muthuselvan November 19, 2007 at 12:23 pm

I have forgot the root passwd pls help if i edit i am getting the following details
kernel /boot/vmlinuz-2.4.22 ro root=LABEL=/
initrd/boot/initrd -2.4.22.img
pls help

Reply

2 Dave H December 10, 2007 at 8:31 pm

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.

Reply

3 vivek June 26, 2010 at 4:49 am

my sql is the best known database … then why is there to reset the password of the database … it can be a big security risk.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as:

Previous Faq:

Next Faq: