Skip to main content

Default MySQL root password

Posted by amagurie on Tue, 05/20/2008

Hi,

What is the default MySQL root password? we are trying to give external systems access to the CDR database.

Regards
Allister


Submitted by eeman on Wed, 05/21/2008 Permalink

there isnt one.. when you start mysql for the first time it usually tells you how to set the password with the mysqladmin command

mysql -u root password 'newpassword'

Submitted by amagurie on Wed, 05/21/2008 Permalink

Thanks Erik, thats what I thought, but I couldn't set it. Recoved it now.

Thanks for all your help

Allister

Submitted by drcabrejos on Tue, 01/18/2011 Permalink

In my case that didn't work.

mysql -u root -p
Using password: passw0rd (with a Zero worked for me)

Hope this helps anyone that had the same problem as I did.