SA-MP Forums Archive
Mysql Error's - 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: Mysql Error's (/showthread.php?tid=419838)



Mysql Error's - c0smiNN - 02.03.2013

Ok. I want to make a mysql sa-mp server.
I upload files , make the sql configs and start server, but the server don't connect to mysql server.
In mysql.log I have this :
[18:00:23] >> mysql_query( Connection handle: 1 )
[18:00:23] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:00:23] >> mysql_store_result( Connection handle: 1 )
[18:00:23] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
[18:00:23] >> mysql_retrieve_row( Connection handle: 1 )
[18:00:23] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
[18:00:23] >> mysql_free_result( Connection handle: 1 )
[18:00:23] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[18:00:23] >> mysql_query( Connection handle: 1 )
[18:00:23] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:00:23] >> mysql_store_result( Connection handle: 1 )
[18:00:23] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
[18:00:23] >> mysql_retrieve_row( Connection handle: 1 )
[18:00:23] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
[18:00:23] >> mysql_free_result( Connection handle: 1 )
[18:00:23] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)


Re: Mysql Error's - c0smiNN - 03.03.2013

Nobody ?


Re: Mysql Error's - Vince - 03.03.2013

So, do you actually use mysql_connect? Or do you expect the server to magically know a username and password?


Re: Mysql Error's - c0smiNN - 03.03.2013

I have and external mysql_database.
I import files.
I put the hostname , db_name , db_user , db_password in gamemode, but it don't work.


Re: Mysql Error's - c0smiNN - 04.03.2013

The gamemode say's the conection is good!
SUCCES: The conection to the database`gfzone_gtagfzone` was established!


Re: Mysql Error's - c0smiNN - 08.03.2013

Nobody?