PDA

View Full Version : Unable to read mysql.conf problem



caribk
03-22-2005, 01:54 PM
I'm getting the following message when going to MySQL Setup on User level on DA 1.23.5:

"Unable to read %s : %s/usr/local/directadmin/conf/mysql.confUnable to open /usr/local/directadmin/conf/mysql.conf for reading.

Error connecting to MySQL: Access denied for user: 'nobody@localhost' (Using password: NO)"

Obviously, there is some problem reading the config file for mysql. The file exists and contains a valid user da_admin and password. It is also readable by root only.

After hardening Apache I first though this problem was related, but reverting to a default config yielded no change.

I am puzzled as to why DA cannot read this file? Any ideas.. ?

jmstacey
03-22-2005, 09:59 PM
It should belong to diradmin:diradmin not root ;)