How to change mySQL root password?

Tommyhara

Verified User
Joined
Jul 25, 2014
Messages
185
Hello,

After installed DA completely but I didn't see Mysql information like username and password to login to MySQL.

where to see this information or change mysql default pass?
 
Last edited:
Hello,

After installed DA completely but I didn't see Mysql information like username and password to login to MySQL.

where to see this information or change mysql default pass?


MySQL root's password on Directadmin powered server can be discovered with the following command:

Code:
grep ^mysql= /usr/local/directadmin/scripts/setup.txt | cut -d\= -f2


There in /usr/local/directadmin/scripts/setup.txt you can see other default passwords which are used on your server.
 
MySQL root's password on Directadmin powered server can be discovered with the following command:

Code:
grep ^mysql= /usr/local/directadmin/scripts/setup.txt | cut -d\= -f2


There in /usr/local/directadmin/scripts/setup.txt you can see other default passwords which are used on your server.
Cool, I will try to check it out

Thanks
 
Back
Top