Question

Спойлер

[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `bugs`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `instrument`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `banners`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `family_system`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `mafiabalance`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `fractions_store`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `filling`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `business`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `house`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `gzlogo`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `inviters`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `zone`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `mebel`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `autoyar`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `vote`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT * FROM `ghetto`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')
[03:34:14 07/17/18] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away (Query: "SELECT `sum`,`status` FROM `unitpay_payments`")
[03:34:14 07/17/18] [WARNING] cache_get_row_count - no active cache
[03:34:14 07/17/18] [WARNING] CMySQLHandle::DeleteSavedResult - invalid result id ('0')

 

Помогите пожалуйста исправить данные ошибки

Share this post


Link to post

3 answers to this question

  • 0

@Alex William,

Цитата

MySQL server has gone away

 

Подключение к базе данных было либо закрыто, либо не состоялось и вовсе. Очистите логи сервера, перезапускайте сервер и снова смотрите логи MySQL.

Share this post


Link to post
  • 0

@Alex William, покажите функцию, где отправляются все эти запросы. Скорее всего OnGameModeInit.

Share this post


Link to post
  • 0

@odosenok 

	cache = mysql_query(1,"SELECT * FROM `zone`"), rows = cache_num_rows(), time = GetTickCount();
	if(rows)
	{
		for(new i; i < rows; i ++)
		{
			GZInfo[i][gCoords][0] = cache_get_field_content_float(i, "gCoords1");
			GZInfo[i][gCoords][1] = cache_get_field_content_float(i, "gCoords2");
			GZInfo[i][gCoords][2] = cache_get_field_content_float(i, "gCoords3");
			GZInfo[i][gCoords][3] = cache_get_field_content_float(i , "gCoords4");
			GZInfo[i][gFrakVlad] = cache_get_field_content_int(i, "gFrakVlad");

			GZInfo[i][gID] = GangZoneCreate(GZInfo[i][gCoords][0],GZInfo[i][gCoords][1],GZInfo[i][gCoords][2],GZInfo[i][gCoords][3]);
			frac_gangzone[GZInfo[i][gFrakVlad]]++;
		}
		UpdateStoreGang(12), UpdateStoreGang(13), UpdateStoreGang(15), UpdateStoreGang(17), UpdateStoreGang(18);
		printf("-> LoadGangZone | Загружено: %d | Time: %d (ms)", rows, GetTickCount()-time);
	}
	else print("-> LoadGangZone не загружен");
    cache_delete(cache);

 

Edited by Alex William

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Александр_Вольт
      By Александр_Вольт
      Нужны 
      Скриптеры 
      3д модельеры
      Админы 
      и т.д
    • fresko241
      By fresko241
      Привет, я только обучаюсь разработке. Хочу узнать у меня есть радио, музыка играет. Но как можно сделать чтобы музыка играла только в машине и слышна была и людям которые возле нее.