Re: MySQL server socket problem
Robin Sheat <[email protected]> Wed, 14 Dec 2011 17:28:09 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <1323836889.22117.48.camel@zarathud> |
--===============1894729751== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-K5ZWVSdlEbKYN4jQj004" --=-K5ZWVSdlEbKYN4jQj004 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Reid schreef op wo 14-12-2011 om 15:03 [+1100]: > Having briefly run MySQL successfully from a C program, the next time > I > booted up mysqld failed >=20 > Relevant syslog info was: >=20 > 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! >=20 > (mysqld.sock does not exist) This is saying that something is trying to connect to mysqld and failing. Which is correct if starting mysqld failed. I think the relevant syslog info might be before this. I don't know what distro you're on, so I'm going to assume Debian or Debian-like. What happens when you run 'sudo /etc/init.d/mysql restart'? > Checked this out on the Web and found >=20 > 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=20 I'm 99% sure that's not going to do anything for you. In particular, it seems to be talking about the bind nameserver, which you probably aren't even running. Robin. --=-K5ZWVSdlEbKYN4jQj004 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk7oJdkACgkQFNNkhamc621cmQCeLiT+4zTHKO4++nw7tjt6IGus EpYAnA1ZHsnubfL1Yey1wYPiSYiCFU8k =7cjL -----END PGP SIGNATURE----- --=-K5ZWVSdlEbKYN4jQj004-- --===============1894729751== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug --===============1894729751==--