на сервере с RH8.0 поднята база
локально конекчусь
пытаюсь с другого хоста (юзер права и пр. - все ок)
выдает сообщение:
[roman@admin roman]$ mysql basename -h 192.168.0.1 -u admin -p
Enter password:
ERROR 2013: Lost connection to MySQL server during query
в /var/log/mysqllog:
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 for example,
innodb_data_file_path = ibdata1:30M
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
что за чушь - я TYPE=INNODB нигде не писал
ну ладно
пишем в /etc/my.cfg
[mysqld]
...
skip-innodb
....
перезапускаю mysqld
пытаюсь соединиться - результат тот-же
в /var/log/mysqllog:
030304 12:39:11 mysqld started
/usr/libexec/mysqld: ready for connections
Number of processes running now: 1
mysqld process hanging, pid 4422 - killed
030304 12:39:23 mysqld restarted
/usr/libexec/mysqld: ready for connections
Совсем не понятно
Если в my.cfg написать
innodb_data_file_path=ibdata:30M
то в логах
Number of processes running now: 1
mysqld process hanging, pid 7022 - killed
030304 13:29:28 mysqld restarted
030304 13:29:28 InnoDB: Database was not shut down normally.
InnoDB: Starting recovery from log files...
InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43892
030304 13:29:28 InnoDB: Flushing modified pages from the buffer pool...
030304 13:29:28 InnoDB: Started
/usr/libexec/mysqld: ready for connections
В чем дело? Подскажите плз