mysqld_safe &
실행시 에러
/home/mysql/bin/mysqld_safe & [1] 4272 [root@localhost data]# Starting mysqld daemon with databases from /usr/local/mysql/data STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid 150327 20:41:33 mysqld ended
[1]+ Done /home/mysql/bin/mysqld_safe
cat localhost.localdomain.err
150327 20:42:07 mysqld started InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 150327 20:42:07 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... 150327 20:42:07 InnoDB: Started; log sequence number 0 43675 150327 20:42:07 [ERROR] /usr/local/mysql/bin/mysqld: Can't create/write to file '/usr/local/mysql/data/localhost.localdomain.pid' (Errcode: 13) 150327 20:42:07 [ERROR] Can't start server: can't create PID file: Permission denied 150327 20:42:07 mysqld ended
chown mysql:mysql /home/mysql -R
|