[REP]Hello,i need help with SQL please help me
#1

hello ,i need help with mysql ,i put my sql details in gamemode but it say that it cant connect ,please help me ,how to connect the server to sql [note:i host the sql from triangle.gs ,its phpmyadmin]

here is the SQL Details that i put
pawn Код:
#define mysql_host          "37.59.28.180/phpmyadmin"
#define mysql_user          "Ryan_7945"
#define mysql_password      "cantpost"
#define mysql_database      "Ryan_7945"
here is the debug
pawn Код:
[11:54:25]  

[11:54:25] ---------------------------

[11:54:25] MySQL Debugging activated (07/31/14)

[11:54:25] ---------------------------

[11:54:25]  

[11:54:25] >> mysql_connect( )

[11:54:25] CMySQLHandler::CMySQLHandler() - constructor called.

[11:54:25] CMySQLHandler::CMySQLHandler() - Connecting to "37.59.28.180/phpmyadmin" | DB: "Ryan_7945" | Username: "Ryan_7945" ...

[11:54:25] CMySQLHandler::Connect() - Unknown MySQL server host '37.59.28.180/phpmyadmin' (11004) (Error ID: 2005)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[11:54:25] >> mysql_query( Connection handle: 1 )

[11:54:25] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[11:54:25] >> mysql_store_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[11:54:25] >> mysql_num_rows( Connection handle: 1 )

[11:54:25] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)

[11:54:25] >> mysql_free_result( Connection handle: 1 )

[11:54:25] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
Reply
#2

Try remove the /phpmyadmin

Also it may be outdated. ( Triangle.gs sql version)
Reply
#3

Thanks alot ,all works good
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)