|
|
[root@ruochen root]# /etc/rc.d/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
启动 MySQL: [失败]
[root@ruochen root]# cd /var/log/
[root@ruochen log]# tail mysqld.log
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
[root@ruochen log]# ps -ef |grep mysql
root 4193 1 0 20:41 pts/1 00:00:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
mysql 4217 4193 0 20:41 pts/1 00:00:00 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
root 4270 3998 0 20:43 pts/1 00:00:00 grep mysql |
|