Little question

dreamline

Verified User
Joined
Dec 3, 2005
Messages
108
Hi All,
DA support helped me great with a segmentation fault, but I still have a little problem. When I use the DA Panel to connect to my databases it says it can't connect to /tmp/mysql.sock. That's ofcourse true in my case since my file is in /var/run/.... However I was wondering where the file is located where DA gets the information from to look in /tmp, so I can change it to my path.

Thanks for any help.
Dreamline
 
The path should be in your my.cnf config file.
 
Well I changed everything back to point to /tmp/mysql.sock. Everyting is working, except for DA, it still gives me a connect error for /tmp/mysql.sock. Hope someone can help me out on this one. I'm running out of possibilities. :( Noticed that my file is called mysqld.sock so that might be a problem, but my main question is where does DA gets the information from when all my config files were referencing mysqld.sock in /var/run.

Thanks so far for pointing me to my.cnf. :D

Changed everything back to defaults and guess what it's working again. So when I know where DA gets the information from to look in /tmp/mysql.sock then I can change my path back to where i'd like my mysql.sock to be. :) Is it hard coded in DA to look in /tmp for mysql.sock?
 
Last edited:
Im pretty sure it pulls it from the mysql config listed in /usr/local/directadmin/conf/directadmin.conf under the mysqlconf variable.
 
Last edited:
Back
Top