ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] Lost connection to MySQL server during query
Date: Tue, 1 Apr 2003 10:18:53 +0700
Message-ID: <20030401101853.59547274.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <004201c2f7b7$8bd78b70$a8a8a8c0@eika>

On Mon, 31 Mar 2003 22:58:40 +0400
"Dodelup" <altlinux@vipdesign.ru> wrote:

> Люди!
> 
> Кто нибудь поможет?! Куда копать с этой проблемой?

1. В дистрибутивах Альта по-умолчанию конфиг mysql включает в себя
опцию skip-networking

[skip]
> > Пользователь test существует в системе и занесен в таблицу mysql
> > командой:
> > 
> > ***
> > insert into user (host,user,password) values ('localhost', 'test',
> > password('mypass'));
> > insert into db
> > (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_pri
> > v,
> > Drop_priv,Grant_priv,References_priv,Index_priv,Alter_priv) values
> > ('localhost','test1','test','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
> > flush privileges;
> > ***
> > 
> > В чем грабли?

2. У localhost адрес обычно 127.0.0.1, а вы пытаетесь подключиться к ней
а) с 192.168.168.168, если админ установлен на вашей машине
б) с 192.168.168.5, если он работает на том же сервере, что и mysqld

> > 
> > P.S.
> > Что еще странно, так это то, что в БД mysql у пользователя test вместо
> > Y,Y,Y,Y,Y,Y,Y,Y,Y,Y значатся N,N,N,N,N,N,N,N,N,N.

Это права доступа к системной базе mysql
плюс права на работу с внешним окружением

права доступа к обычной базе выставляются в таблице db

P.S. Документация к MySQL - одна из лучших, ИМХО
Можно читать как книгу.



  reply	other threads:[~2003-04-01  3:18 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-30 21:16 Dodelup
2003-03-31 18:58 ` Dodelup
2003-04-01  3:18   ` Maxim.Savrilov [this message]
2003-04-01 20:14     ` Dodelup
2003-04-01 22:27       ` Dodelup
2003-04-02  3:21       ` Maxim.Savrilov
2003-04-02 22:41         ` Dodelup
2003-04-03 19:15           ` Dodelup
2003-04-04  2:27             ` Maxim.Savrilov
2003-04-04  7:46               ` Dodelup
2003-04-04  8:13                 ` Maxim.Savrilov
2003-04-04  9:21                   ` Dodelup
2003-04-04 10:09                     ` Maxim.Savrilov
2003-04-04 10:16                       ` Dodelup
2003-04-04 10:56                         ` Maxim.Savrilov
2003-04-04 19:48                           ` Dodelup
2003-04-05 13:12                   ` [Comm] bootsplash & 1024x768 S.Tertychniy
2003-04-07 18:48                     ` Vadim V. Zhytnikov
2003-04-08 15:35                       ` Sergey Tertichniy
2003-04-08 16:49                         ` Re[2]: " ASA
2003-04-08 18:05                           ` Sergey Tertichniy
2003-04-09  2:34                             ` Re[4]: " ASA
2003-04-09 11:39                         ` [Comm] " Sergey Vlasov
2003-04-04  7:07             ` [Comm] Lost connection to MySQL server during query Igor Muratov
2003-04-04  7:52               ` Dodelup
2003-04-04  8:14                 ` Igor Muratov
2003-04-04  9:30                   ` Yura Kalinichenko
2003-04-04  9:37                   ` Dodelup
2003-04-04 10:02                   ` Dmitry Nikitin
2003-04-06 21:34                   ` Dodelup
2003-04-08 17:51                     ` Dodelup
2003-04-09 15:58                       ` [Comm] " Michael Shigorin
2003-04-09 15:54           ` Michael Shigorin

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=20030401101853.59547274.Maxim.Savrilov@socenter.ru \
    --to=maxim.savrilov@socenter.ru \
    --cc=community@altlinux.ru \
    /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