- 论坛徽章:
- 0
|
fbsd 4.10
ports安装mysql 4.0.23a
安装好后
simon# cd /usr/local/bin
simon# ./mysqld_safe &
[1] 254
simon# Starting mysqld daemon with databases from /usr/local/mysql
STOPPING server from pid file /usr/local/mysql/simon.localdomain.pid
050225 20:32:30 mysqld ended
[1] Done ./mysqld_safe
mysql启动不了,于是
simon# cd /usr/local/etc/rc.d
simon# ./mysql-server.sh start
Starting mysql.
simon#
这样就可以启动!查看前面的出错记录
simon# ee /usr/local/mysql/simon.localdomain.err
050225 20:32:27 mysqld started
050225 20:32:28 InnoDB: Started
050225 20:32:28 /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050225 20:32:28 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050225 20:32:28 Aborting
050225 20:32:28 InnoDB: Starting shutdown...
050225 20:32:30 InnoDB: Shutdown completed
050225 20:32:30 /usr/local/libexec/mysqld: Shutdown Complete
050225 20:32:30 mysqld ended
不知道为什么有这样的错误,哪个地方设置错了吗? |
|