Chinaunix

标题: Fedora下刚装的Mysql5安装后无法启动~ [打印本页]

作者: heiyeluren    时间: 2006-05-18 23:07
标题: Fedora下刚装的Mysql5安装后无法启动~
跑在Fedora 1而下面, 安装 Mysql 5.0.21:
./configure --prefix=/usr/local/mysql5

启动: /usr/local/mysql5/bin/mysqld_safe --user=mysql &

出现提示:

STOPPING server from pid file /var/run/mysqld/mysqld.pid
060518 23:08:10  mysqld ended
                                                                                                                             
                                                                                                                             
[1]+  Done                    /usr/local/mysql5/bin/mysqld_safe --user=mysql

查看错误日志: cat /var/lib/mysql/fedora1.err
错误如下:

060518 23:08:08  mysqld started
060518 23:08:09  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060518 23:08:09  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
060518 23:08:09  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
060518 23:08:10  InnoDB: Started; log sequence number 0 43655
060518 23:08:10 [ERROR] /usr/local/mysql5/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
060518 23:08:10 [ERROR] /usr/local/mysql5/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
060518 23:08:10 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
060518 23:08:10  mysqld ended


好像是innoDB的问题,不知道如何解决,请高手指教!
作者: heiyeluren    时间: 2006-05-20 13:39
恩, 只能自己先顶~~
作者: liusz    时间: 2006-05-20 14:17
是不是忘了执行一步INSTALL命令。 是编译安装的吗? 按照INSTALL里面的命令一步一步的来就可以了。


060518 23:08:10  InnoDB: Started; log sequence number 0 43655
060518 23:08:10 [ERROR] /usr/local/mysql5/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
060518 23:08:10 [ERROR] /usr/local/mysql5/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
060518 23:08:10 [ERROR] Fatal error: Can't open and lock privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
作者: puma_soft    时间: 2006-06-02 23:12
标题: 看看这个地址的解释对你是否有帮助
http://www.maming.com/blog/2006/05/31/1149005800144.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2