匿名用户 提问于 2015-11-28

Linking CXX executable mysql_client_test_embedded
../libmysqld.a(sql_builtin.cc.o):(.data.rel+0x48): undefined reference to `builtin_innobase_plugin’
collect2: error: ld returned 1 exit status
make[2]: *** [libmysqld/examples/mysql_client_test_embedded] Error 1
make[1]: *** [libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all] Error 2
make: *** [all] Error 2
MySQL install failed, Please contact the author!
Killed
root@myweb:~/oneinstack# /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: error: unable to read /etc/init.d/mysqld
update-rc.d: using dependency based boot sequencing
include/mysql-5.6.sh: line 193: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
mysqld: unrecognized service
include/mysql-5.6.sh: line 202: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 203: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 204: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 205: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 206: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 207: /usr/local/mysql/bin/mysql: No such file or directory
include/mysql-5.6.sh: line 208: /usr/local/mysql/bin/mysql: No such file or directory
mysqld: unrecognized service

1 答案

发布
匿名用户 2015-11-28

可能之前我选择了mysql5.7
重新安装了一次,mysql用的默认5.6,成功安装完毕。
 

#1

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