sophia222 发表于 2017-10-21 17:05:40

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

VPS/服务器:Ubuntu 17.10 (GNU/Linux 4.13.0-16-generic x86_64)    vultr

licess 发表于 2017-10-21 18:52:12

[ 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= '\0';
                                     ^~~~
client/CMakeFiles/mysql.dir/build.make:86: recipe for target 'client/CMakeFiles/mysql.dir/mysql.cc.o' failed
make: *** Error 1
CMakeFiles/Makefile2:4019: recipe for target 'client/CMakeFiles/mysql.dir/all' failed

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

请使用加了补丁修复的lnmp 1.5进行安装
页: [1]
查看完整版本: 【求助】LNMP安装失败,MySQL install failed. 谢谢!!!