D&C GLug - Home Page

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

Re: [LUG] Databases again

 

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

Neil Winchurst wrote:
> On Tue, 20 Jun 2006 17:58:26 +0100
> Neil Stone <neil@xxxxxxxxxxxxxxx> wrote:
> 
> 
> is the mysql server running ?
> 
>> Yes. Version 4.0.26 (on Mandriva2006). That is I have to get it started
>> with /usr/share/mysql/mysql.server start &. I am told, starting mysql
>> server and I get OK in green.
> 
>> 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

- --
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