/var/lib/mysql/mysql.sock - try may be this unix socket is created somewhere
else like - /tmp/mysql.sock

check your configuration from

safe_mysqld

MYSQL_UNIX_PORT=${MYSQL_UNIX_PORT:-/var/lib/mysql/mysql.sock}
MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-3306}

search for these lines

from that info check wheather that socket file exists

then try to give the socket or port number to the mysql app.



----- Original Message -----
From: "MRUGENDRA" <[EMAIL PROTECTED]>
To: "linuxhelp" <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 12:24 PM
Subject: [LIH] problems starting mysql


hi everyone.....

i am facing a problem with mysql.....

when i try to start the server using mysql at command prompt...
it gives me an error saying..

cannot connect to local mysql server through socket
 /var/lib/mysql/mysql.sock...

someone please gimme some solution to this...

i have mysql configured to start at bootup...i did so using the
ntsysv command....

i have also tried removing it and starting ti everytime giving
/etc/rc.d/init.d mysql start command the command returns an ok
saying mysql started btu nothign works somehow....

pplease help me out

mrugu

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to