directadmin DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database!

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

to get the login/password for mysql.

Type:
mysql -uda_admin -ppassword

where da_admin/password are the login/pass output from the mysql.conf.

Once in mysql, type:
DROP DATABASE da_roundcube;
quit

once the db is dropped and you’re out of mysql, type:
cd /usr/local/directadmin/custombuild
./build roundcube

Leave a Reply

Your email address will not be published. Required fields are marked *