Jump to content
  • 0

Question

Posted

Salut, Acum cateva zile mi.am achizitionat un server. Am un gm care ruleaza pe mysql. Cei de la host mi.au dat un site in care sa tin baza de date (mentionez ca siteul cu baza de date are ip extern, nu are acelasi ip cu serverul ei au spus ca nu este nici o problema.). Am creat user baza de date tot, am urcat fisierul .sql in baza de date si am setat in pawno datele. Serverul se deschide dar nu se salveaza nimic de fiecare data cand intru pe el trebuie sa ma inregistrez din nou. In plus imi da aceasta eroare in mysql log:

[13:30:01] 

[13:30:01] ---------------------------

[13:30:01] MySQL Debugging activated (02/21/14)

[13:30:01] ---------------------------

[13:30:01] 

[13:30:01] >> mysql_query( Connection handle: 1 )

[13:30:01] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[13:30:01] >> mysql_store_result( Connection handle: 1 )

[13:30:01] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[13:30:01] >> mysql_retrieve_row( Connection handle: 1 )

[13:30:01] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)

[13:30:01] >> mysql_free_result( Connection handle: 1 )

[13:30:01] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[13:30:01] >> mysql_query( Connection handle: 1 )

[13:30:01] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)

[13:30:01] >> mysql_store_result( Connection handle: 1 )

[13:30:01] CMySQLHandler::StoreResult() - There is nothing to store (Reason: Connection is dead)

[13:30:01] >> mysql_retrieve_row( Connection handle: 1 )

[13:30:01] CMySQLHandler::RetrieveRow() - You cannot call this function now. (Reason: Connection is dead)

[13:30:01] >> mysql_free_result( Connection handle: 1 )

[13:30:01] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

3 answers to this question

Recommended Posts

Posted

Incearca sa iti iei xampp si sa pui

#define SQL_HOST "localhost"

#define SQL_USER "root"

#define SQL_PASS " "

#define SQL_DB "bazadedate" sa vezi daca merge

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

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.