By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.
宝塔安装Mysql失败的解决方案
宝塔面板    2018-11-21 19:20:31    2786    0    0
emengweb   宝塔面板

尝试使用以下命令安装,看看具体报什么错:

bash /www/server/panel/install/mysql.sh install 5.6

再根据报错,手动安装缺少的库后,再尝试安装mysql即可正常安装。

 

错误提示:

mysql.sh: line 270: cmake: command not found
make: *** No targets specified and no makefile found.  Stop..

mysql(5.5) 需先安装cmake和libncurses5-dev才能装上

执行

apt-get install -y cmake
apt-get install -y libncurses5-dev

 

错误提示:

找不到.so库文件 libcurl​ libssl libcrypto


执行

apt-get install -y libssl-dev
apt-get install -y libcurl4-openssl-dev

上一篇: 宝塔面板node.js插件用法

下一篇: 宝塔面板Nginx安装失败的解决方案

2786 人读过
文档导航