D&C GLug - Home Page

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

Re: [LUG] Databases

 

On 19/06/06, Neil Winchurst <neil@xxxxxxxxxxxxxxxxx> wrote:
> "Aaron Trevena" <aaron.trevena@xxxxxxxxx> wrote:
> > Any joy with mysql?
> >
> > A.
> >
> Well, I have a version installed. When I run
> /usr/share/mysql/mysql.server start &
> as root it says OK.
>
> Then, when I try to run it, just with 'mysql', I get the message
>
> Can't connect to local mysql server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> And indeed when I look in the folder there is no such file.

Hmm.. you want to make sure that's where the socket is in the
configuration file..

look for my.cnf  and check the location of the socket there..

A.

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