Jump to content
  • 0

Problema mysql


Xcite

Question

Am o problema cu serverul pe baza de date mysql , l-am pornit in PC pe windows si nu se conecteaza la baza de date de pe alt host , unde e si site-ul hostat.

Care poate fi problema ? Trebuie ca serverul sa fie pe acelasi host cu baza de date ? eu stiam ca merge daca adaug la Remote MYSQL , am adaugat IP-ul si tot nu merge.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

Guest farse

adauga mysql_debug(1); dedesubt la OnGameModeInit() sau inainte de mysql_connect. Il deschizi apoi te uiti in mysql_log.txt / Debug.txt si vezi ce zice..

Link to comment
Share on other sites

adauga mysql_debug(1); dedesubt la OnGameModeInit() sau inainte de mysql_connect. Il deschizi apoi te uiti in mysql_log.txt / Debug.txt si vezi ce zice..

in debug.txt apare:

[15:50:53]  

[15:50:53] ---------------------------

[15:50:53] MySQL Debugging activated (08/01/11)

[15:50:53] ---------------------------

[15:50:53]  

[15:50:54] >> mysql_query( Connection handle: 1 )

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

[15:50:54] >> mysql_query( Connection handle: 1 )

Multe linii dinastea, iar pe localhost merge dar pe o baza de date de pe alt host nu merge , spre exemplu unde am hostat domeniul . Am adaugat la remote mysql ip-ul unde e hostat serverul dar tot nu vrea , am pus corect baza de date in gm ... iar la SQL_HOST am pus ip-ul hostului , am schimbat si in localhost.domeniu.ro si in domeniu.ro dar tot nu vrea...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.