Same problem
I have got the same problem at
http://www.example.com:2222/CMD_DB?domain=example.com
root and da_admin passwords are correct (I checked at the shell and in phpMyAdmin).
My config:
[root@colo610 ~]# locate my.cnf
/etc/my.cnf
/usr/local/directadmin/conf/my.cnf
[root@colo610 ~]# cat /etc/my.cnf
[mysqld]
local-infile=0
[root@colo610 ~]# cat /usr/local/directadmin/conf/my.cnf
[client]
user=da_admin
password=xxxxxxxx
[root@colo610 ~]# ls -la /usr/local/directadmin/conf/my.cnf
-rw-r--r-- 1 root root 42 May 12 14:03 /usr/local/directadmin/conf/my.cnf
[root@colo610 ~]# ls -la /etc/my.cnf
-rw-r--r-- 1 root root 24 Jun 2 2010 /etc/my.cnf
The newline is there (actually a double one at the moment), I deleted and recreated the file, I tried chown diradmin:diradmin, rebooted the server several times etc. Directadmin still says:
Error connecting to MySQL: Access denied for user 'da_admin'@'localhost' (using password: NO)
Repair guide:
http://help.directadmin.com/item.php?id=45
The repair guide does not help, because da_admin requires a password and Directadmin sends none.
Any ideas?
Jan