Mysl Problem - 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: Mysl Problem (
/showthread.php?tid=270717)
Mysl Problem -
rashier - 21.07.2011
Hello. I have a problem with the MySQL database. Worked before, but now gives me this:
Quote:
[15:50:54] MYSQL: Attempting to connect to server...
[15:50:55]
Connection to MySQL database: Failed !
[15:50:55] Can't connect to MySQL server on 'localhost' (10061)
[15:50:55] Error in mysql_select_db: MySQL server has gone away
[15:50:55] MYSQL: Connection error, retrying...
[15:50:56]
Connection to MySQL database: Failed !
[15:50:56] Can't connect to MySQL server on 'localhost' (10061)
[15:50:56] Error in mysql_select_db: MySQL server has gone away
[15:50:56] MYSQL: Could not reconnect to server, terminating server...
[15:50:56] Error in mysql_query: MySQL server has gone away
[15:50:56] Error in mysql_store_result: MySQL server has gone away
|
....Can someone help? Thanks.
Re: Mysl Problem -
GangsTa_ - 21.07.2011
Show your defines.
Re: Mysl Problem -
MadeMan - 21.07.2011
Check if MySQL server IP, username and password are correct.
Re: Mysl Problem -
rashier - 21.07.2011
Define on gamemode :
Quote:
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_PASS ""
#define MYSQL_DB "ung"
|
....and MadeMan...how to do what you did you?....Help me please!!