Help with MySQL please. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with MySQL please. (
/showthread.php?tid=273764)
Help with MySQL please. -
HectorGonzales - 03.08.2011
Код:
[Wed Aug 3 00:09:15 2011] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
[Wed Aug 3 00:09:15 2011] Error (0): Function: mysql_ping called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
and every next line for the mysql log is similar.
What should I do?
Re: Help with MySQL please. -
Godhimself - 03.08.2011
Cant really find the problem with them lines, Give us more detail and code.
Re: Help with MySQL please. -
Cameltoe - 03.08.2011
Did you : apt-get install mysql mysql-client mysql-server ?
Re: Help with MySQL please. -
Calgon - 03.08.2011
If this problem persists, try reinstalling the mysql-server package.
Quote:
Originally Posted by Cameltoe
Did you : apt-get install mysql mysql-client mysql-server ?
|
Not everyone uses Debian.
Re: Help with MySQL please. -
Cameltoe - 03.08.2011
Quote:
Originally Posted by Calg00ne
If this problem persists, try reinstalling the mysql-server package.
Not everyone uses Debian.
|
I did not assume he did either, rather pointing out the needed packages.