niak

Registered
Dec 21, 2005
3
0
151
i have been trying to install postfixadmin to administer backup mx domains on my dnsonly box. the server is working fine as part of the dns cluster. Im struggling getting mysql to run on the server. i can run /scripts/mysqlup fine, but when i try and connect from the client i get:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

does cpanel dnsonly somehow disable the mysql server?

im running CentOS 4.3
 

rhenderson

Well-Known Member
Apr 21, 2005
785
1
166
Oklahoma
cPanel Access Level
Root Administrator
niak said:
i have been trying to install postfixadmin to administer backup mx domains on my dnsonly box. the server is working fine as part of the dns cluster. Im struggling getting mysql to run on the server. i can run /scripts/mysqlup fine, but when i try and connect from the client i get:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

does cpanel dnsonly somehow disable the mysql server?

im running CentOS 4.3
In SSH run

Code:
ls /etc/*dis*
I just deleted the disabled files in /etc to get mysql working, we are running a DNS only, with MySql, Httpd, Postfix and Mailscanner w/spamassassin.

Good Luck.
 

niak

Registered
Dec 21, 2005
3
0
151
i did delete the apachedisable and mysqldisable files and this did get apache working correctly. however, i still cannot get mysql running on this box with the same mysql.sock error as posted above.

any ideas ?
 

niak

Registered
Dec 21, 2005
3
0
151
nevermind, i did get it going.

i was getting this in the /var/log/mysql.log

060808 12:19:30 mysqld started
060808 12:19:30 /usr/sbin/mysqld: unknown variable 'old_passwords=1'

removed the old_passwords=1 from the my.conf and ran a

/usr/bin/mysql_install_db --user=mysql