| Mailing List | | Home | | MySQL General - General MySQL discussion | | MaxDB - Everything about MaxDB, formerly known as SAP DB | | MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP | | Java Help - Mostly related to the MySQL Connector/J driver | | ODBC - ODBC with the MySQL Connector/ODBC driver | | Perl - Perl support for MySQL with DBI and DBD::mysql | | MySQL++ - Programming with the C++ API to MySQL |
|
|
  | |  | ERROR 2002: Can 't connect to local MySQL server through socket | ERROR 2002: Can 't connect to local MySQL server through socket 2004-03-15 - By Sami Maisniemi
Back I have installed MySQL provided with SuSE Linux 9.0. My intention was to
figure out how it could be used with PHP that is running on Apache. I managed
to install all required RPM packages, but when I try to laynch MySQL (just
typing "MySQL "], the following error message is displayed:
ERROR 2002: Can 't connect to local MySQL server through socket '/var/lib/
mysql/mysql.sock ' (2)
I checked the directory '/var/lib/mysql/ ' and there is no such file. How
should I generate one? The server is just a localhost if this has any impact.
Regards Sami
--
MySQL General Mailing List
For list archives:
http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/mysql?unsub=mysql
@(protected)
|
|
 |