Root credentials for MySQL are stored in plain text in the file

/usr/local/directadmin/conf/mysql.conf

So, after accessing in SSH, you can simply use this command:

cat /usr/local/directadmin/conf/mysql.conf

 

 

Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • DirectAdmin, MySQL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 How to Enable Reseller Access to CSF in DirectAdmin

If you're using CSF ( ConfigServer Security & Firewall) on your DirectAdmin server, you can...

 Understanding Dovecot POP Logs

POP log entries are something like: top=%t/%p, retr=%r/%b, del=%d/%m, size=%s where variables...

 How to Change the Skin from Enhanced to Evolution for All Users in DirectAdmin?

In DirectAdmin, if you want to change the default skin from the old Enhanced to the new Evolution...