VPS侦探论坛

标题: 军哥,my-innodb-heavy-4G.cnf 复制成 my.cnf 后重启错误 [打印本页]

作者: liudanai2844    时间: 2012-7-31 18:55
标题: 军哥,my-innodb-heavy-4G.cnf 复制成 my.cnf 后重启错误
[root@ecn etc]# cp /usr/local/mysql/share/mysql/my-innodb-heavy-4G.cnf /etc/my.cnf
cp: overwrite `/etc/my.cnf'? y
[root@ecn etc]# /root/lnmp restart
=========================================================================
Manager for LNMP V0.9  ,  Written by Licess
=========================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to Manage status of lnmp
For more information please visit http://www.lnmp.org

Usage: /root/lnmp {start|stop|reload|restart|kill|status}
=========================================================================
Stoping LNMP...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL.                                       [  OK  ]
MySQL program is stop
Starting LNMP...
Nginx start successfully!
Starting php_fpm  done
PHP-FPM start successfully!
Starting MySQL.Manager of pid-file quit without updating fi[FAILED]
MySQL start successfully!
[root@ecn etc]#
军哥,我复制my-huge.cnf 后有正常了
作者: licess    时间: 2012-7-31 20:14
那你肯定没安装innodb
作者: liudanai2844    时间: 2012-7-31 20:18
标题: 回复 2# 的帖子
是哦,这个没有安装,现在如何安装?
作者: licess    时间: 2012-7-31 21:08
标题: 回复 3# 的帖子
只能安装lnmp时选择,安装完后不能再增加
作者: liudanai2844    时间: 2012-7-31 21:18
标题: 回复 4# 的帖子
嗯,我重新编译安装了MYSQL,可以了


./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-assembler --with-mysqld-ldflags=-all-static --with-charset=utf8 --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=innobase




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4