• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

mySQL cannot connect to socket under Linux.. now with additional question!

GiLtY

Golden Member
New Question: Can somone recommend me a place where I can read about setting up mySQL server? Specifically post-installation steps I need to take to make sure mySQL server is running, and the connectivitiy is good using PERL/CGI or other languages.


i was trying to start mySQL under linux by using the "mysql" command, but the following error occured:

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

I did a snooping in the /var/lib/mysql folder, and that folder doesn't exist!

But i did install mySQL though, here's what i get from "mysql -V":

mysql Ver 11.18 Distrib 3.23.56, for redhat-linux-gnu (i386)

So... am I missing some files?

Thanks in advance.

--GiLtY
 
The MySQL server has to be running for you to connect to it with the mysql command-line client.

As a side note, just because you installed the mysql client package does not mean the server is installed and configured.
 
Originally posted by: manly
The MySQL server has to be running for you to connect to it with the mysql command-line client.

As a side note, just because you installed the mysql client package does not mean the server is installed and configured.

Thanks, I didn't start the mysqld service 🙂

--GiLtY
 
Back
Top