SA-MP Forums Archive
MySQL ошибка - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Русский/Russian (https://sampforum.blast.hk/forumdisplay.php?fid=32)
+---- Thread: MySQL ошибка (/showthread.php?tid=386593)



MySQL ошибка - dennes544 - 20.10.2012

у меня есть мод на mysql

работало все прекрасно до того дня как я перешел на vds...

уже какие только системы не пробовал...

ubuntu 10 и 8 centos 5 и 6 debian 5 и 6

на обычном самп сервере все работало

вот собственно сама ошибка

PHP код:
[03:51:51] ---------------------------
[
03:51:51MySQL Debugging activated (10/21/12)
[
03:51:51] ---------------------------
[
03:51:51]  
[
03:51:51] >> mysql_connect( )
[
03:51:51CMySQLHandler::CMySQLHandler() - constructor called.
[
03:51:51CMySQLHandler::CMySQLHandler() - Connecting to "localhost" DB"totalrpdb" Username"totalrpdb" ...
[
03:51:51CMySQLHandler::Connect() - Connection was successful.
[
03:51:51CMySQLHandler::Connect() - Auto-Reconnect has been enabled.
[
03:52:24] >> mysql_queryConnection handle)
[
03:52:24CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:52:24] >> mysql_store_resultConnection handle)
[
03:52:24CMySQLHandler::StoreResult() - There is nothing to store (ReasonConnection is dead)
[
03:52:24] >> mysql_fetch_row_formatConnection handle)
[
03:52:24CMySQLHandler::FetchRow() - You cannot call this function now. (ReasonConnection is dead)
[
03:52:24]  
[
03:52:24] ---------------------------
[
03:52:24MySQL Debugging activated (10/21/12)
[
03:52:24] ---------------------------
[
03:52:24]  
[
03:52:24] >> mysql_queryConnection handle)
[
03:52:24CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:52:24] >> mysql_free_resultConnection handle)
[
03:52:24CMySQLHandler::FreeResult() - There is nothing to free (ReasonConnection is dead)
[
03:52:24] >> mysql_queryConnection handle)
[
03:52:24CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:52:24] >> mysql_free_resultConnection handle)
[
03:52:24CMySQLHandler::FreeResult() - There is nothing to free (ReasonConnection is dead)
[
03:54:05] >> mysql_queryConnection handle)
[
03:54:05CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:54:05] >> mysql_store_resultConnection handle)
[
03:54:05CMySQLHandler::StoreResult() - There is nothing to store (ReasonConnection is dead)
[
03:54:05] >> mysql_fetch_row_formatConnection handle)
[
03:54:05CMySQLHandler::FetchRow() - You cannot call this function now. (ReasonConnection is dead)
[
03:54:05]  
[
03:54:05] ---------------------------
[
03:54:05MySQL Debugging activated (10/21/12)
[
03:54:05] ---------------------------
[
03:54:05]  
[
03:54:05] >> mysql_queryConnection handle)
[
03:54:05CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:54:05] >> mysql_free_resultConnection handle)
[
03:54:05CMySQLHandler::FreeResult() - There is nothing to free (ReasonConnection is dead)
[
03:54:05] >> mysql_queryConnection handle)
[
03:54:05CMySQLHandler::Query() - You cannot call this function now. (ReasonConnection is dead)
[
03:54:05] >> mysql_free_resultConnection handle)
[
03:54:05CMySQLHandler::FreeResult() - There is nothing to free (ReasonConnection is dead
куда рыть что делать даже незнаю)

господа профискриптеры помогите мне горе скриптеру)


Re: MySQL ошибка - eakwarp - 21.10.2012

Написано же, коннект отвалился. Случайно не фествдс?


Re: MySQL ошибка - dennes544 - 21.10.2012

нет у меня ihc

а вот почему коннект отваливается?


Re: MySQL ошибка - eakwarp - 21.10.2012

Quote:
Originally Posted by dennes544
Посмотреть сообщение
нет у меня ihc

а вот почему коннект отваливается?
Покажите код коннекта к бд. Так же возможно, что юзер не превилигирован на доступ к вашей бд.

Так же, учитывая что это уже не винда, поздравляю, игрушки кончились, начинается хардкор, проверьте регистр. Если из под винды столбцы id и ID - один и тот же столбец, для линукса это два разных столбца.