MySQL connection problem.
#10

Alright so I should change the mysql to g_mysql_handle, What else should I do?


** Just tried it with changing mysql to g_mysql_handle and now I get these errors in the mysql log, They are different but still when I try to spawn I get the login screen and I can just put in whatever I want without having an account and all.

*** Ive also changed the conhandle and everything but still it says that it has nothing to store in the mysql log and I still have the issue that I get the login screen when I first login, I need to get the register screen.

Code:
[19:52:16]  
[19:52:16]  ** MySQL Debugging enabled (01/29/15)
[19:52:16]  
[19:52:16] >> mysql_connect(localhost, root, test, ******) on port 3306
[19:52:16] CMySQLHandler::CMySQLHandler() - constructor called.
[19:52:16] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "test" | Username: "root"
[19:52:16] CMySQLHandler::Connect() - Connection was successful.
[19:52:16] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.
[19:52:42] >> mysql_format( Connection handle: 1 )
[19:52:42] >> mysql_store_result( Connection handle: 1 )
[19:52:42] CMySQLHandler::StoreResult() - No data to store.
[19:52:42] >> mysql_num_rows( Connection handle: 1 )
[19:52:42] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)
[19:52:42] >> mysql_free_result( Connection handle: 1 )
[19:52:42] CMySQLHandler::FreeResult() - The result is already empty.
[19:52:48] >> mysql_real_escape_string( Connection handle: 1 )
[19:52:48] CMySQLHandler::EscapeString(asdads); - Escaped 6 characters to asdads.
[19:52:48] >> mysql_format( Connection handle: 1 )
[19:52:48] >> mysql_store_result( Connection handle: 1 )
[19:52:48] CMySQLHandler::StoreResult() - No data to store.
[19:52:48] >> mysql_num_rows( Connection handle: 1 )
[19:52:48] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)
[19:52:48] >> mysql_format( Connection handle: 1 )
[19:52:48] >> mysql_store_result( Connection handle: 1 )
[19:52:48] CMySQLHandler::StoreResult() - No data to store.
[19:52:48] >> mysql_fetch_row_format( Connection handle: 1 )
[19:52:48] CMySQLHandler::FetchRow() - You cannot call this function now. (Reason: Empty Result)
[19:52:48] >> mysql_free_result( Connection handle: 1 )
[19:52:48] CMySQLHandler::FreeResult() - The result is already empty.
[19:52:48] >> mysql_free_result( Connection handle: 1 )
[19:52:48] CMySQLHandler::FreeResult() - The result is already empty.
[19:52:55] >> mysql_query_callback( Connection handle: 0 )
[19:52:55] >> mysql_query_callback() - Invalid connection handle. (You set: 0, Highest connection handle ID is 1).
Reply


Messages In This Thread
MySQL connection problem. - by Glenn332 - 29.01.2015, 16:59
Re: MySQL connection problem. - by PowerPC603 - 29.01.2015, 17:39
Re: MySQL connection problem. - by Glenn332 - 29.01.2015, 17:42
Re: MySQL connection problem. - by PowerPC603 - 29.01.2015, 17:47
Re: MySQL connection problem. - by Glenn332 - 29.01.2015, 17:54
Re: MySQL connection problem. - by Smally - 29.01.2015, 17:58
Re: MySQL connection problem. - by PowerPC603 - 29.01.2015, 18:00
Re: MySQL connection problem. - by Glenn332 - 29.01.2015, 18:02
Re: MySQL connection problem. - by PowerPC603 - 29.01.2015, 18:08
Re: MySQL connection problem. - by Glenn332 - 29.01.2015, 18:11

Forum Jump:


Users browsing this thread: 2 Guest(s)