打印

【求助】LNMP安装失败,MySQL install failed. 谢谢!!!

【求助】LNMP安装失败,MySQL install failed. 谢谢!!!

VPS/服务器:Ubuntu 17.10 (GNU/Linux 4.13.0-16-generic x86_64)    vultr
附件: 您所在的用户组无法下载或查看附件

TOP

[ 83%] Building CXX object client/CMakeFiles/mysql.dir/mysql.cc.o
/root/lnmp1.4/src/mysql-5.5.56/client/mysql.cc: In function ‘void build_completion_hash(bool, bool)’:
/root/lnmp1.4/src/mysql-5.5.56/client/mysql.cc:2669:37: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
       field_names[num_fields*2]= '\0';
                                     ^~~~
client/CMakeFiles/mysql.dir/build.make:86: recipe for target 'client/CMakeFiles/mysql.dir/mysql.cc.o' failed
make[2]: *** [client/CMakeFiles/mysql.dir/mysql.cc.o] Error 1
CMakeFiles/Makefile2:4019: recipe for target 'client/CMakeFiles/mysql.dir/all' failed

mysql未知原因编译失败,可能ubuntu版本太新与mysql有兼容性问题

TOP