|
hehe:/usr/local/mysql/bin# ./mysqld_safe --user=mysql &
[1] 30825
hehe:/usr/local/mysql/bin# Starting mysqld daemon with databases from /usr/local/mysql//var
STOPPING server from pid file /usr/local/mysql//var/hehe.pid
050304 11:18:51 mysqld ended
[1]+ Done ./mysqld_safe --user=mysql
我在debain下安装的5.02版本,在安装完之后没有var目录 我就自己建立了一个,然后运行了
hehe:/usr/local/mysql/bin# ./mysql_install_db
Installing all prepared tables
Fill help tables
但是它没有给我建立hehe.pid文件 不知道怎么半了 手册上没有说明白也查了些问题 还是没解决阿
郁闷中
hehe:/usr/local/mysql/var# tail hehe.err
InnoDB: buffer...
050304 11:18:50 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43634.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
050304 11:18:51 InnoDB: Flushing modified pages from the buffer pool...
050304 11:18:51 InnoDB: Started; log sequence number 0 43634
050304 11:18:51 [ERROR] /usr/local/mysql//libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050304 11:18:51 [ERROR] Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050304 11:18:51 mysqld ended
我把 /usr/local/mysql/var/mysql/host.frm 拷贝到 /libexec/mysql/ 下还是不行 |
|