Please help which is not the problem..
#1

I have a problem with is that mysql version works well 0.3z mysql database is connected, but the version 0.3.7 to use the new a_samp.inc include the pawno 0.3.7 is not connected mysql says Error to connect to the database .. What could be? and actualize all the includes to the mysql What is the problem? , I put the example gm in a mysql 0.3z works connected but not 0.3.7.

Код:
[03:48:57] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "megared", password: "****", port: 3306, autoreconnect: true
[03:48:57] [DEBUG] CMySQLHandle::Create - creating new connection..
[03:48:57] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called
[03:48:57] [DEBUG] CMySQLHandle::Create - connection created with ID = 1
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT Nombre FROM usuarios WHERE Nombre = 'Plantilla'", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT SQLID FROM vehiculos ORDER BY SQLID DESC", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] cache_get_field_count - connection: 1
[03:48:57] [WARNING] cache_get_field_count - no active cache
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM casas ORDER BY ID DESC", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] cache_get_field_count - connection: 1
[03:48:57] [WARNING] cache_get_field_count - no active cache
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM negocios ORDER BY ID DESC", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] cache_get_field_count - connection: 1
[03:48:57] [WARNING] cache_get_field_count - no active cache
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM turfs ORDER BY ID DESC", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] cache_get_field_count - connection: 1
[03:48:57] [WARNING] cache_get_field_count - no active cache
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM facciones ORDER BY ID DESC", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_row_count - connection: 1
[03:48:57] [WARNING] cache_get_row_count - no active cache
[03:48:57] [DEBUG] cache_get_field_count - connection: 1
[03:48:57] [WARNING] cache_get_field_count - no active cache
[03:48:57] [DEBUG] mysql_format - connection: 1, len: 180, format: "SELECT * FROM `facciones` WHERE `ID` = %d"
[03:48:57] [DEBUG] mysql_query - connection: 1, query: "SELECT * FROM `facciones` WHERE `ID` = 0", use_cache: true
[03:48:57] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:57] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:57] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:57] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:57] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:57] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:57] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:57] [DEBUG] cache_get_field_content_int - row: 0, field_name: "ID", connection: 1
[03:48:57] [WARNING] cache_get_field_content_int - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Nombre", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango1", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango2", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango3", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango4", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango5", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango6", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango7", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango8", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Lider", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Tipo", connection: 1
[03:48:57] [WARNING] cache_get_field_content_int - no active cache
[03:48:57] [DEBUG] cache_get_field_content - row: 0, field_name: "Color", connection: 1, max_len: 60
[03:48:57] [WARNING] cache_get_field_content - no active cache
[03:48:57] [DEBUG] cache_get_field_content_int - row: 0, field_name: "PuntosExpansion", connection: 1
[03:48:57] [WARNING] cache_get_field_content_int - no active cache
[03:48:57] [DEBUG] cache_get_field_content_int - row: 0, field_name: "TiempoArmas", connection: 1
[03:48:57] [WARNING] cache_get_field_content_int - no active cache
[03:48:57] [DEBUG] cache_get_field_content_int - row: 0, field_name: "TiempoDrogas", connection: 1
[03:48:57] [WARNING] cache_get_field_content_int - no active cache
[03:48:58] [DEBUG] mysql_query - connection: 1, query: "SELECT SQLID FROM plantaciones ORDER BY SQLID DESC", use_cache: true
[03:48:58] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:58] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:58] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:58] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:58] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:58] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:58] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:58] [DEBUG] cache_get_row_count - connection: 1
[03:48:58] [WARNING] cache_get_row_count - no active cache
[03:48:58] [DEBUG] cache_get_field_count - connection: 1
[03:48:58] [WARNING] cache_get_field_count - no active cache
[03:48:58] [DEBUG] mysql_format - connection: 1, len: 180, format: "SELECT * FROM `plantaciones` WHERE `SQLID` = %d"
[03:48:58] [DEBUG] mysql_query - connection: 1, query: "SELECT * FROM `plantaciones` WHERE `SQLID` = 0", use_cache: true
[03:48:58] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called
[03:48:58] [DEBUG] CMySQLQuery::Execute[()] - starting query execution
[03:48:58] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away
[03:48:58] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting..
[03:48:58] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[03:48:58] [ERROR] CMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10013)
[03:48:58] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
[03:48:58] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Estado", connection: 1
[03:48:58] [WARNING] cache_get_field_content_int - no active cache
Reply


Messages In This Thread
Please help which is not the problem.. - by Joseito - 01.05.2015, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)