How to retrieve lost MySQL’s username and password for Direct Admin?

Lost your MySQL's username and password? Here's the way to retrieve it.

1. SSH into your server, command as below "ssh IP-username" - port.
2. Type in the below command:
cat /usr/local/DirectAdmin/conf/mysql.conf
3. The password and username will show as below as it was saved in this location.



2 Users Found This Useful

Was this answer helpful?

Also Read