13.11.2015, 20:11
Buenas, logrй que la Gamemode abriera correctamente en el VPS, se instalу otro sistema operativo(https://sampforum.blast.hk/showthread.php?tid=594020), pero ahora se me presenta que la Gamemode no conecta con la base de datos, en el mysql.log dice lo siguiente:
Error que mбs se repite
acб el server log completo, alguien me podrнa dar alguna soluciуn urgente por favor..
un amigo que me esta ayudando me dijo que se logra conectar, pero colapsa... uso de sistema operativo: Ubuntu 15.04 Server (64 bits)
Error que mбs se repite
Код:
[18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called
Код:
[18:04:29] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "basededatos", password: "****", port: 3306, autoreconnect: true [18:04:29] [DEBUG] CMySQLHandle::Create - creating new connection.. [18:04:29] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called [18:04:29] [DEBUG] CMySQLHandle::Create - connection created with ID = 1 [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT SQLID FROM vehiculos ORDER BY SQLID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM casas ORDER BY ID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM negocios ORDER BY ID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM turfs ORDER BY ID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT ID FROM facciones ORDER BY ID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_format - connection: 1, len: 180, format: "SELECT * FROM `facciones` WHERE `ID` = %d" [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT * FROM `facciones` WHERE `ID` = 0", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "ID", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Nombre", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango1", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango2", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango3", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango4", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango5", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango6", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango7", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Rango8", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Lider", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Tipo", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache [18:04:29] [DEBUG] cache_get_field_content - row: 0, field_name: "Color", connection: 1, max_len: 60 [18:04:29] [WARNING] cache_get_field_content - no active cache [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "PuntosExpansion", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "TiempoArmas", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "TiempoDrogas", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT SQLID FROM plantaciones ORDER BY SQLID DESC", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_row_count - connection: 1 [18:04:29] [WARNING] cache_get_row_count - no active cache [18:04:29] [DEBUG] cache_get_field_count - connection: 1 [18:04:29] [WARNING] cache_get_field_count - no active cache [18:04:29] [DEBUG] mysql_format - connection: 1, len: 180, format: "SELECT * FROM `plantaciones` WHERE `SQLID` = %d" [18:04:29] [DEBUG] mysql_query - connection: 1, query: "SELECT * FROM `plantaciones` WHERE `SQLID` = 0", use_cache: true [18:04:29] [DEBUG] CMySQLQuery::CMySQLQuery() - constructor called [18:04:29] [DEBUG] CMySQLQuery::Execute[()] - starting query execution [18:04:29] [ERROR] CMySQLQuery::Execute[()] - (error #2006) MySQL server has gone away [18:04:29] [WARNING] CMySQLQuery::Execute[()] - lost connection, reconnecting.. [18:04:29] [DEBUG] CMySQLConnection::Disconnect - connection was closed [18:04:29] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) [18:04:29] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called [18:04:29] [DEBUG] cache_get_field_content_int - row: 0, field_name: "Estado", connection: 1 [18:04:29] [WARNING] cache_get_field_content_int - no active cache