[MYSQL] MySQL Query unsuccesfull
#1

Код:
[18:48:25] >> mysql_connect( )
[18:48:25] CMySQLHandler::CMySQLHandler() - constructor called.
[18:48:25] CMySQLHandler::CMySQLHandler() - Connecting to "host.godlike.ro" | DB: "gta" | Username: "gta" ...
[18:48:25] CMySQLHandler::Connect() - Can't connect to MySQL server on 'host.godlike.ro' (111) (Error ID: 2003)
Код:
[18:48:25] >> mysql_query( Connection handle: 1 )
[18:48:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:48:25] >> mysql_store_result( Connection handle: 1 )
[18:48:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
[18:48:25] >> mysql_retrieve_row( Connection handle: 1 )
[18:48:25] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
[18:48:25] >> mysql_free_result( Connection handle: 1 )
[18:48:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[18:48:25] >> mysql_query( Connection handle: 1 )
[18:48:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:48:25] >> mysql_store_result( Connection handle: 1 )
[18:48:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
[18:48:25] >> mysql_retrieve_row( Connection handle: 1 )
[18:48:25] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)
[18:48:25] >> mysql_free_result( Connection handle: 1 )
[18:48:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[18:50:00] >> mysql_query( Connection handle: 1 )
[18:50:00] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:50:00] >> mysql_query( Connection handle: 1 )
[18:50:00] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:50:00] >> mysql_query( Connection handle: 1 )
[18:50:00] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[18:50:00] >> mysql_store_result( Connection handle: 1 )
[18:50:00] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)
[18:50:00] >> mysql_num_rows( Connection handle: 1 )
[18:50:00] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)
[18:50:00] >> mysql_free_result( Connection handle: 1 )
In server_log.txt, i get a message telling me that the MySQL connection to the database was succesfull.

If i modify DB_HOST with "localhost", he doesn't start because of that:
Код:
samp03svr: amx/amx.c:555: amx_BrowseRelocate: Assertion `op>0 && op<OP_NUM_OPCODES' failed.
Can anyone help me please?
Reply


Messages In This Thread
[SOLVED] Please delete! - by toofast - 04.07.2013, 15:50
Re: [MYSQL] MySQL Query unsuccesfull - by GiamPy. - 04.07.2013, 15:53
Re: [MYSQL] MySQL Query unsuccesfull - by toofast - 04.07.2013, 15:54
Re: [MYSQL] MySQL Query unsuccesfull - by GiamPy. - 04.07.2013, 15:57
Re: [MYSQL] MySQL Query unsuccesfull - by toofast - 04.07.2013, 16:01
Re: [MYSQL] MySQL Query unsuccesfull - by GiamPy. - 04.07.2013, 16:02
Re: [MYSQL] MySQL Query unsuccesfull - by toofast - 04.07.2013, 16:08
Re: [MYSQL] MySQL Query unsuccesfull - by Vince - 04.07.2013, 16:14
Re: [MYSQL] MySQL Query unsuccesfull - by toofast - 04.07.2013, 16:19

Forum Jump:


Users browsing this thread: 2 Guest(s)