Search Our Database

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

Last updated on |

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

1. SSH into your server, command as below
ssh “IP” -l “username” -p “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.