qq_nh123 发表于 2006-9-30 16:04:42

求助,哪位大虾帮忙看看安装mysql时的问题

在ml下装mysql,装了好几次了,安装没问题,但总是起动不了,每次都是这样:


# service mysqld start
Starting MySQL................................... ERROR!
#         

            
我查看/mysql/var下的出错日志,应该就是MagicLinux.err吧,里面的显示是:


060930 15:45:42mysqld started
060930 15:45:42InnoDB: 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...
060930 15:45:42InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
060930 15:45:42InnoDB: 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
060930 15:45:42InnoDB: Started; log sequence number 0 43655
060930 15:45:42 Recovering after a crash using mysql-bin
060930 15:45:42 Starting crash recovery...
060930 15:45:42 Crash recovery finished.
060930 15:45:42 /home/chenjie/mysql/libexec/mysqld: Can't create/write to file '/home/chenjie/mysql/var/MagicLinux.pid' (Errcode: 13)
060930 15:45:42 Can't start server: can't create PID file: Permission denied
060930 15:45:42mysqld ended


哪位大侠帮忙分析下这是怎么回事?

haulm 发表于 2006-9-30 17:40:21

你可以尝试置顶帖最后几帖中有提及的服务器包,安装下看是否満意。

http://www.magiclinux.org/people/haulm/RPMS/
页: [1]
查看完整版本: 求助,哪位大虾帮忙看看安装mysql时的问题