ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] mysqlcc -- соединение с сервером не восстанавливается автоматически
Date: Thu, 13 Mar 2008 19:25:50 +0200
Message-ID: <47D9639E.5060107@tangramltd.com> (raw)
In-Reply-To: <47D8D19D.4020100@immo.ru>

[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]

Богданов Михаил пишет:
> Привет.
>
> Во время использования MySQLCC вылезает постоянно вот такая ошибка:
> ERROR 2006: MySQL server has gone away
>
> Т.е. я открываю какую-то табличку на удаленном сервере, делаю к ней 
> запросы некоторые. Через некоторое время (от пары минут и больше) хочу 
> выполнить еще некоторые запросы - ан нет: MySQL server has gone away. 
> Лечится только реконнектом к хосту.
>
> В аналоге для винды такого не было :(  Т.е. было, но там реконнект 
> происходит автоматом (при попытке выполнить sql-запрос)
>
> Если кто встречался с такой проблемой - подскажите как победили :)
Или в mysql поставить больше время хранения persistent соединения, или 
научить прогу делать пинг или не использовать persistent connection.
http://php.yar.ru/manual/ru/features.persistent-connections.php

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

      parent reply	other threads:[~2008-03-13 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  7:02 Богданов Михаил
2008-03-13 17:09 ` Владимир Черный
2008-03-13 19:20   ` Pavlov Konstantin
2008-03-14  6:46     ` Богданов Михаил
2008-03-13 17:25 ` Slava Dubrovskiy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D9639E.5060107@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git