[PLUG] Cannot connect to mysql server
lists at itech7.com
Wed Sep 10 03:03:50 PDT 2008
On Wednesday 10 September 2008 09:51:00 am Gaurav Pant wrote:
> > On Tuesday 09 September 2008 04:30:17 pm abhi wrote:
> > > Hello folks,
> > > I am new to Linux and have Fedora 9. I have installed mysql.
> > > When I run mysql, I get tthe following error:
> > > *ERROR 2002 (HY000) cannt connect to local mysql server through socket
> > > /var/lib/mysql.sock (2).*
> > > **
> > > What should i do?
> > Paste your /etc/hosts
> And how would that help.
> > PL: Ingore the prev. message as it was a mistake (I'm new to KMail)
> Already ignored
> Abhi... assuming you are giving mysql command (on a command line
> enviornmet), the error indicates you mysql server is not running.
> Either start it from the services tool, or as root run the command: service
> mysql start.
> Provided you have installed mysql
> Pune GNU/Linux Users Group Mailing List: (plug-mail at plug.org.in)
> List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to plug-mail-request at plug.org.in for mailing instructions.
Oh! I thought he was having problems starting mysql! lol. Abhi.. do as Gaurav
/sbin/service mysqld start (as root)
More information about the plug-mail