MySQL server socket problem
"John Reid" <[email protected]> Wed, 14 Dec 2011 15:03:08 +1100 (EST)
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <[email protected]> |
Having briefly run MySQL successfully from a C program, the next time I
booted up mysqld failed
Relevant syslog info was:
error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket:
'/var/run/mysqld/mysqld.sock' exists!
(mysqld.sock does not exist)
Checked this out on the Web and found
This bug can be fixed by:
1) Adding a line that says
include "/etc/bind/rndc.key";
to /etc/bind/named.conf
and then
2) Making /etc/bind/rndc.key be owner root:bind mode 640
chown root:bind /etc/bind/rndc.key
I did this but it did not fix the problem.
Any ideas?
_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug