In the situation when you don’t know your database username and password.You can follow this guide to retrieve your username and password for your database using directadmin panel 1) Login to the directadmin panel
Search our database
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.