aibaby7 发表于 2015-10-30 14:11:34

数据库升级出错,启动不了

数据库启动不了报错/etc/init.d/mysql: line 256: my_print_defaults: command not foundStarting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)

lnmp1.0,mysql数据库从5.1版本升级到5.5
然后最后启动不了数据库

版本详细日志 麻烦军哥看一下,谢谢了!!
已经按照网上的方法


basedir =/usr/local/mysql
datadir =/usr/local/mysql/var

添加了这个还是不行

[ 本帖最后由 aibaby7 于 2015-10-30 14:14 编辑 ]

aibaby7 发表于 2015-10-30 14:15:03

useradd: user mysql exists
ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient_r.so.16 is not a symbolic link

ldconfig: /usr/lib/libmysqlclient.so.16 is not a symbolic link

/etc/init.d/mysql: line 256: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
Repair databases...
./upgrade_mysql.sh: line 314: /usr/local/mysql/bin/mysql_upgrade: No such file or directory
Start Nginx...
Starting nginx...done
Start php-fpm......
Starting php-fpm Zend Guard Loader requires Zend Engine API version 220100525.
The Zend Engine API version 220131226 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Guard Loader.

ERROR: An another FPM instance seems to already listen on /tmp/php-cgi.sock
ERROR: FPM initialization failed
failed
Restart MySQL...
/etc/init.d/mysql: line 256: my_print_defaults: command not found
/etc/init.d/mysql: line 256: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 256: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)

licess 发表于 2015-10-30 15:41:34

Linking CXX static library libsql.a
/usr/bin/ar: libsql.a: No space left on device
make: *** Error 1
安装时系统硬盘空间不足

aibaby7 发表于 2015-11-4 14:19:03

回复 3# 的帖子

感谢军哥,开始我也是发现好想是空间满了,原来是系统盘空间满了,现在删掉一些东西就好了,mysql日志可以禁用不,占了大多数的空间一直没有清理
页: [1]
查看完整版本: 数据库升级出错,启动不了