重新开放
匿名用户 提问于 2016-02-22

系统是 Ubuntu 14.04.3 LTS
内存 8G 
Linking C static library libdbug.a
[ 13%] Built target dbug
[ 13%] Building CXX object mysys_ssl/CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o
In file included from /root/lnmp/src/mysql-5.7.11/include/my_global.h:72:0,
from /root/lnmp/src/mysql-5.7.11/include/crypt_genhash_impl.h:32,
from /root/lnmp/src/mysql-5.7.11/mysys_ssl/crypt_genhash_impl.cc:30:
/usr/include/c++/4.8/new:40:21: fatal error: exception: No such file or directory
#include <exception>
^
compilation terminated.
make[2]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o] Error 1
make[1]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
make: *** [all] Error 2
MySQL install failed, Please contact the author!
/bin/cp: cannot stat ‘/usr/local/mysql/support-files/mysql.server’: No such file or directory
chmod: cannot access ‘/etc/init.d/mysqld’: No such file or directory
update-rc.d: /etc/init.d/mysqld: file does not exist
include/mysql-5.7.sh: line 207: /usr/local/mysql/bin/mysqld: No such file or directory
mysqld: unrecognized service
include/mysql-5.7.sh: line 216: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.7.sh: line 217: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.7.sh: line 218: /usr/local/mysql/bin/mysql: No such file or directory
mysqld: unrecognized service

2 答案

发布
管理员 2016-02-23

重新安装操作系统试试

#1
发布

我的是cenos6.6,也是这个错误,安装程序有问题吧

#2

请登录或者 注册 来提交答案