LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MySQL problem - newb (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-problem-newb-35273/)

omgkthxbye 11-12-2002 11:11 AM

MySQL problem - newb
 
not sure what needs to be modified/setup to run the mysql tool. I get this when i type it at bash:

# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


What did I break?

markus1982 11-12-2002 12:48 PM

Is MySQL running at all?
ps auxw | grep mysql

If so did you modify the path where the mysql.sock was stored? To locate the file use find / -name mysql.sock


post the results here ...

ChineseElite 11-26-2002 04:42 PM

I have the same problem, MySQL is running, and sock is located in : /tmp/mysql.sock

It is looking in /var/tmp/mysql.sock


All times are GMT -5. The time now is 05:25 PM.