* [Comm] Lost connection to MySQL server during query
@ 2003-03-30 21:16 Dodelup
2003-03-31 18:58 ` Dodelup
0 siblings, 1 reply; 33+ messages in thread
From: Dodelup @ 2003-03-30 21:16 UTC (permalink / raw)
To: community
Господа!
Детский наверное вопрос, но все таки...
По локалке пытаюсь с машины 192.168.168.168 подключиться к машине
192.168.168.5, а точнее к ее MySQL-серверу (для этого использую
PHPMyAdmin).
При попытке обратиться к БД MySQL-сервер посылает меня подальше такими
словами: Lost connection to MySQL server during query.
При этом в /var/log/mysql.log по делу ИМХО ничего не пишет:
***
Number of processes running now: 1
mysqld process hanging, pid 566 - killed
030331 00:14:04 mysqld restarted
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections
***
Ошибок в конфиге PHPMyAdmin скорее всего тоже нет, потому как с другими
MySQL-серверами работаю без проблем. Но на всякий случаю даю кусок
конфига:
***
$cfg['Servers'][$i]['host'] = '192.168.168.5';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'test';
$cfg['Servers'][$i]['password'] = 'mypass';
$cfg['Servers'][$i]['only_db'] = '';
***
Пользователь 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;
***
В чем грабли?
P.S.
Что еще странно, так это то, что в БД mysql у пользователя test вместо
Y,Y,Y,Y,Y,Y,Y,Y,Y,Y значатся N,N,N,N,N,N,N,N,N,N.
--
Dodelup
^ permalink raw reply [flat|nested] 33+ messages in thread* RE: [Comm] Lost connection to MySQL server during query 2003-03-30 21:16 [Comm] Lost connection to MySQL server during query Dodelup @ 2003-03-31 18:58 ` Dodelup 2003-04-01 3:18 ` Maxim.Savrilov 0 siblings, 1 reply; 33+ messages in thread From: Dodelup @ 2003-03-31 18:58 UTC (permalink / raw) To: community Люди! Кто нибудь поможет?! Куда копать с этой проблемой? -- Dodelup > -----Original Message----- > From: community-admin@altlinux.ru [mailto:community-admin@altlinux.ru] On > Behalf Of Dodelup > Sent: Monday, March 31, 2003 1:17 AM > To: community@altlinux.ru > Subject: [Comm] Lost connection to MySQL server during query > > Господа! > > Детский наверное вопрос, но все таки... > > По локалке пытаюсь с машины 192.168.168.168 подключиться к машине > 192.168.168.5, а точнее к ее MySQL-серверу (для этого использую > PHPMyAdmin). > > При попытке обратиться к БД MySQL-сервер посылает меня подальше такими > словами: Lost connection to MySQL server during query. > > При этом в /var/log/mysql.log по делу ИМХО ничего не пишет: > > *** > Number of processes running now: 1 > mysqld process hanging, pid 566 - killed > 030331 00:14:04 mysqld restarted > Cannot initialize InnoDB as 'innodb_data_file_path' is not set. > If you do not want to use transactional InnoDB tables, add a line > skip-innodb > to the [mysqld] section of init parameters in your my.cnf > or my.ini. If you want to use InnoDB tables, add to the [mysqld] > section, for example, > innodb_data_file_path = ibdata1:10M:autoextend > But to get good performance you should adjust for your hardware > the InnoDB startup options listed in section 2 at > http://www.innodb.com/ibman.html > /usr/libexec/mysqld: ready for connections > *** > > Ошибок в конфиге PHPMyAdmin скорее всего тоже нет, потому как с другими > MySQL-серверами работаю без проблем. Но на всякий случаю даю кусок > конфига: > > *** > $cfg['Servers'][$i]['host'] = '192.168.168.5'; > $cfg['Servers'][$i]['port'] = ''; > $cfg['Servers'][$i]['socket'] = ''; > $cfg['Servers'][$i]['connect_type'] = 'tcp'; > $cfg['Servers'][$i]['compress'] = FALSE; > $cfg['Servers'][$i]['controluser'] = ''; > $cfg['Servers'][$i]['controlpass'] = ''; > $cfg['Servers'][$i]['auth_type'] = 'config'; > $cfg['Servers'][$i]['user'] = 'test'; > $cfg['Servers'][$i]['password'] = 'mypass'; > $cfg['Servers'][$i]['only_db'] = ''; > *** > > Пользователь 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; > *** > > В чем грабли? > > P.S. > Что еще странно, так это то, что в БД mysql у пользователя test вместо > Y,Y,Y,Y,Y,Y,Y,Y,Y,Y значатся N,N,N,N,N,N,N,N,N,N. > > -- > Dodelup > > ┴╨xйf√)√+ > ┴╨xи╘√)ф╩╤зЪ > > j[┼{╝Оj)j\x7f┼кІЗr┴╨x ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-03-31 18:58 ` Dodelup @ 2003-04-01 3:18 ` Maxim.Savrilov 2003-04-01 20:14 ` Dodelup 0 siblings, 1 reply; 33+ messages in thread From: Maxim.Savrilov @ 2003-04-01 3:18 UTC (permalink / raw) To: community 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 - одна из лучших, ИМХО Можно читать как книгу. ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-01 3:18 ` Maxim.Savrilov @ 2003-04-01 20:14 ` Dodelup 2003-04-01 22:27 ` Dodelup 2003-04-02 3:21 ` Maxim.Savrilov 0 siblings, 2 replies; 33+ messages in thread From: @ 2003-04-01 20:14 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-01 20:14 ` Dodelup @ 2003-04-01 22:27 ` Dodelup 2003-04-02 3:21 ` Maxim.Savrilov 1 sibling, 0 replies; 33+ messages in thread From: @ 2003-04-01 22:27 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 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 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-02 3:21 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-02 3:21 ` Maxim.Savrilov @ 2003-04-02 22:41 ` Dodelup 2003-04-03 19:15 ` Dodelup 2003-04-09 15:54 ` Michael Shigorin 0 siblings, 2 replies; 33+ messages in thread From: @ 2003-04-02 22:41 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-02 22:41 ` Dodelup @ 2003-04-03 19:15 ` Dodelup 2003-04-04 2:27 ` Maxim.Savrilov 2003-04-04 7:07 ` [Comm] Lost connection to MySQL server during query Igor Muratov 2003-04-09 15:54 ` Michael Shigorin 1 sibling, 2 replies; 33+ messages in thread From: @ 2003-04-03 19:15 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-03 19:15 ` Dodelup @ 2003-04-04 2:27 ` Maxim.Savrilov 2003-04-04 7:46 ` Dodelup 2003-04-04 7:07 ` [Comm] Lost connection to MySQL server during query Igor Muratov 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-04 2:27 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 2:27 ` Maxim.Savrilov @ 2003-04-04 7:46 ` Dodelup 2003-04-04 8:13 ` Maxim.Savrilov 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-04 7:46 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 7:46 ` Dodelup @ 2003-04-04 8:13 ` Maxim.Savrilov 2003-04-04 9:21 ` Dodelup 2003-04-05 13:12 ` [Comm] bootsplash & 1024x768 S.Tertychniy 0 siblings, 2 replies; 33+ messages in thread From: @ 2003-04-04 8:13 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 8:13 ` Maxim.Savrilov @ 2003-04-04 9:21 ` Dodelup 2003-04-04 10:09 ` Maxim.Savrilov 2003-04-05 13:12 ` [Comm] bootsplash & 1024x768 S.Tertychniy 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-04 9:21 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 9:21 ` Dodelup @ 2003-04-04 10:09 ` Maxim.Savrilov 2003-04-04 10:16 ` Dodelup 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-04 10:09 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 10:09 ` Maxim.Savrilov @ 2003-04-04 10:16 ` Dodelup 2003-04-04 10:56 ` Maxim.Savrilov 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-04 10:16 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 10:16 ` Dodelup @ 2003-04-04 10:56 ` Maxim.Savrilov 2003-04-04 19:48 ` Dodelup 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-04 10:56 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-04 10:56 ` Maxim.Savrilov @ 2003-04-04 19:48 ` Dodelup 0 siblings, 0 replies; 33+ messages in thread From: @ 2003-04-04 19:48 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* [Comm] bootsplash & 1024x768 2003-04-04 8:13 ` Maxim.Savrilov 2003-04-04 9:21 ` Dodelup @ 2003-04-05 13:12 ` S.Tertychniy 2003-04-07 18:48 ` Vadim V. Zhytnikov 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-05 13:12 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] bootsplash & 1024x768 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 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-07 18:48 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] bootsplash & 1024x768 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-09 11:39 ` [Comm] " Sergey Vlasov 0 siblings, 2 replies; 33+ messages in thread From: @ 2003-04-08 15:35 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re[2]: [Comm] bootsplash & 1024x768 2003-04-08 15:35 ` Sergey Tertichniy @ 2003-04-08 16:49 ` ASA 2003-04-08 18:05 ` Sergey Tertichniy 2003-04-09 11:39 ` [Comm] " Sergey Vlasov 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-08 16:49 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: Re[2]: [Comm] bootsplash & 1024x768 2003-04-08 16:49 ` Re[2]: " ASA @ 2003-04-08 18:05 ` Sergey Tertichniy 2003-04-09 2:34 ` Re[4]: " ASA 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-08 18:05 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re[4]: [Comm] bootsplash & 1024x768 2003-04-08 18:05 ` Sergey Tertichniy @ 2003-04-09 2:34 ` ASA 0 siblings, 0 replies; 33+ messages in thread From: @ 2003-04-09 2:34 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* [Comm] Re: bootsplash & 1024x768 2003-04-08 15:35 ` Sergey Tertichniy 2003-04-08 16:49 ` Re[2]: " ASA @ 2003-04-09 11:39 ` Sergey Vlasov 1 sibling, 0 replies; 33+ messages in thread From: @ 2003-04-09 11:39 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-03 19:15 ` Dodelup 2003-04-04 2:27 ` Maxim.Savrilov @ 2003-04-04 7:07 ` Igor Muratov 2003-04-04 7:52 ` Dodelup 1 sibling, 1 reply; 33+ messages in thread From: @ 2003-04-04 7:07 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 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 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-04 7:52 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 7:52 ` Dodelup @ 2003-04-04 8:14 ` Igor Muratov 2003-04-04 9:30 ` Yura Kalinichenko ` (3 more replies) 0 siblings, 4 replies; 33+ messages in thread From: @ 2003-04-04 8:14 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 2003-04-04 8:14 ` Igor Muratov @ 2003-04-04 9:30 ` Yura Kalinichenko 2003-04-04 9:37 ` Dodelup ` (2 subsequent siblings) 3 siblings, 0 replies; 33+ messages in thread From: @ 2003-04-04 9:30 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 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 3 siblings, 0 replies; 33+ messages in thread From: @ 2003-04-04 9:37 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [Comm] Lost connection to MySQL server during query 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 3 siblings, 0 replies; 33+ messages in thread From: @ 2003-04-04 10:02 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-04 8:14 ` Igor Muratov ` (2 preceding siblings ...) 2003-04-04 10:02 ` Dmitry Nikitin @ 2003-04-06 21:34 ` Dodelup 2003-04-08 17:51 ` Dodelup 3 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-06 21:34 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* RE: [Comm] Lost connection to MySQL server during query 2003-04-06 21:34 ` Dodelup @ 2003-04-08 17:51 ` Dodelup 2003-04-09 15:58 ` [Comm] " Michael Shigorin 0 siblings, 1 reply; 33+ messages in thread From: @ 2003-04-08 17:51 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
* [Comm] Re: Lost connection to MySQL server during query 2003-04-02 22:41 ` Dodelup 2003-04-03 19:15 ` Dodelup @ 2003-04-09 15:54 ` Michael Shigorin 1 sibling, 0 replies; 33+ messages in thread From: @ 2003-04-09 15:54 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 33+ messages in thread
end of thread, other threads:[~2003-04-09 15:58 UTC | newest] Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-03-30 21:16 [Comm] Lost connection to MySQL server during query Dodelup 2003-03-31 18:58 ` Dodelup 2003-04-01 3:18 ` Maxim.Savrilov 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
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