|
我的步骤完全按照二进制包内的INSTALL-BINARY文件进行:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db
shell> chown -R root .
shell> chown -R mysql data
shell> chgrp -R mysql .
shell> bin/mysqld_safe --user=mysql &
就在最后这一步,出现了以下错误:
这个是日志显示的内容:
070120 08:25:05 mysqld started
070120 8:25:05 /usr/local/mysql/bin/mysqld: Table 'mysql.host' doesn't exist
070120 08:25:05 mysqld ended
070120 08:35:15 mysqld started
070120 8:35:15 /usr/local/mysql/bin/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
070120 08:35:15 mysqld ended |
|