Re: MySQL server socket problem
Robin Sheat <[email protected]> Wed, 14 Dec 2011 19:22:05 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <1323843725.22117.55.camel@zarathud> |
--===============1976995854== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+aZadBj+u6EahZQXaYPt" --=-+aZadBj+u6EahZQXaYPt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Reid schreef op wo 14-12-2011 om 16:57 [+1100]: > This suggests that 'unknown variable > 'lc-messages-dir=3D/usr/share/mysql' is > the source of the problem. >=20 > But what can I do about it?=20 That looks very much like the cause of your problem. Option the first: What version of MySQL are you running (and what debian version?) lc-messages-dir was added in 5.5, I wonder if you're running an older version somehow, but perhaps with a newer config. Hmm, do you maybe have mysql-server-5.1 installed, rather than mysql-server (which, in Debian 6, will be 5.5 or thereabouts.)=20 Perhaps try: sudo aptitude install mysql-server. It should give you the option of removing mysql-server-5.1. That should be safe, but I'd take a backup first if you have data you care about, just to be sure. Option the second: Find it and nuke it from orb^W^W^W^W comment it out :) Try: sudo grep -r 'lc-messages-dir' /etc/mysql and see if anything comes up. If it does, edit the file that's in and put a '#' at the start of that line. If it doesn't, it might be coming from somewhere else: sudo grep -r 'lc-messages-dir' /etc/ will hopefully give you something useful. If you find it and comment it out, try sudo /etc/init.d/mysql restart again and hopefully it'll work. Robin. --=-+aZadBj+u6EahZQXaYPt 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) iEYEARECAAYFAk7oQI0ACgkQFNNkhamc620ZSgCfS/iHsuFDPEgGaO5VhI42kjRn BpEAn0qegKF2LsZgKCdTOxW2dMCFkmWY =swjp -----END PGP SIGNATURE----- --=-+aZadBj+u6EahZQXaYPt-- --===============1976995854== 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 --===============1976995854==--