MySQL ошибка
#1

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

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

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

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

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

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

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

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

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

нет у меня ihc

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)