LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't connect to local MySQL server (https://www.linuxquestions.org/questions/linux-software-2/cant-connect-to-local-mysql-server-60951/)

tinaa 05-21-2003 05:04 AM

Can't connect to local MySQL server
 
I installed mysql 4.0 - server, client & devel using rpm -i <rpm name>. But gives me following error while starting mysql.

Starting mysqld daemon with databases from /var/lib/mysql
mysql
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)

Can anyone please help me.

Thank you,

Tina.....


:scratch:

jharris 05-21-2003 05:50 AM

Thats weird as mysqld should create /tmp/mysql.sock and shouldn't be trying to connect to it. What command are you using to start the mysql daemon? Are there any hints in your logs?

cheers

Jamie...

tinaa 05-21-2003 06:02 AM

Thanks for the reply.

I managed to make it work...

Thank you.


All times are GMT -5. The time now is 03:46 AM.