D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Databases again

 

On Tue, 20 Jun 2006 19:41:17 +0100
Neil Stone <neil@xxxxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 

> > 
> >> However, when I try to use it with 'mysql' I am told
> >> ERROR 2002: Can't connect to local MySQL server through socket
> >> '/var/lib/mysql/mysql.sock' (2)
> > 
> 
> There is usually a script in /etc/init.d for running the mysel server..
> (daemon) exact locations of these scripts have tended over the years to
> differ distro to distro, but most have one in /etc sompleace...
> 
> try this
> 
> find /etc -name mysql* -type f
> 
I found this
/etc/rc.d/init.d/mysql start

I ran it, got the server running OK but still came up with the same
error message as above when I tried to use the mysql program.

Neil Winchurst

 - --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
> 
> - --
> Neil Stone
> 
> Systems Administrator
> FlashTek UK
> 
> - -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT d+(++) s: a-(?) C++++(--) UL++++$ P+ L+++ E- W+++ N+
> o+ w--- O M PS+ Y+ PGP++ t+ 5+ X+ R+ tv+ b- DI++ D+++ G
> e h--- r+++ y++++(**)
> - -----END GEEK CODE BLOCK-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEmEFNz3Av8JKgzxQRAr3/AKCoCK7wapeBmC9miuSTVIzbytayFQCeL8Qo
> Dmdd5Kftewd1daaT5yChD2U=
> =JKlJ
> -----END PGP SIGNATURE-----
> 
> -- 
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html