In case of most of the cpanel/centos servers we can get the mysql root login details from

/root/.my.cnf


DirectAdmin stores mysql password as cleartext and you can try use it as your admin password . Most probably the details will be same. You can get the details from the file below.

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