SQL cant connect - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: SQL cant connect (
/showthread.php?tid=75395)
SQL cant connect -
SpUnKyMe - 01.05.2009
can someone help me with this
well frist where i have to put "database" file or just i leave it wheres my server.exe ?
then where i put "src" folder ? i leave it too wheres server.exe ?
im getting then
[19:31:03] Can't connect to MySQL server on 'localhost' (10061)
[19:31:03] Error in mysql_select_db: MySQL server has gone away
[19:31:03] MYSQL: Could not reconnect to server, terminating server..
Any help will be useful , thank you
Re: SQL cant connect -
kasco - 01.05.2009
download a MySQL server (xampp)
Re: SQL cant connect -
SpUnKyMe - 02.05.2009
Well, i registered at db4free and filled things in GM like host user and pass and db name but now it is spamming
LOG:
[08:58:07] Moderntopia: Los Santos
[08:58:07] _____________________________
[08:58:07] By Moderntopia Scripting Team
[08:58:07]
[08:58:07] MYSQL: Moderntopia MySQL Player Accounts v0.1 by Luk0r
[08:58:07] MYSQL: Attempting to connect to server...
[08:58:07]
Connection to MySQL database: Successfull !
[08:58:07] MYSQL: Database connection established.
[08:58:19] Pickups Max = 100, Current Pickups = 120
and in sa-mp server list it shows my server is not responding, but when i try without SQL then it works fine but yeah.. i really need SQL
Re: SQL cant connect -
kasco - 02.05.2009
Download xampp
Then start it then you got a SQL server and connect to localhost and password is (no pass just "") and user root