产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 无法安装mysql-5.7 一直安装失败

hujin1991
铁牌会员
7.19 价值分

hujin1991 发表于 2018-07-30 00:04:30
提示信息:
[ 36%] Built target GenSysSchema
[ 36%] Building CXX object sql/CMakeFiles/sql.dir/item_geofunc_setops.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/item_geofunc_setops.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
chmod: cannot access '/usr/local/mysql-5.7': No such file or directory
chown: cannot access '/usr/local/mysql-5.7': No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 73: /usr/local/mysql-5.7/bin/mysqld: No such file or directory
chmod: cannot access '/home/usrdata/mysql-5.7': No such file or directory
chown: cannot access '/home/usrdata/mysql-5.7': No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 76: /usr/local/mysql-5.7/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 84: /usr/local/mysql-5.7/bin/mysql: No such file or directory
[Notice] mysql-5.7 is not installed.

有什么解决办法?
2018-07-30 00:04:30 1

amysql
创始人
16530.81 价值分

这是你使用的服务器没有足够的内存。
  支持 (0分)  反对 (0分)
回复  2018-07-30 11:07:46 2

AMH面板 - 好用高效低占用、安全可靠极稳定

牧天下
铁牌会员
4.00 价值分

这是你使用的服务器没有足够的内存。
  支持 (0分)  反对 (0分)
回复  2018-08-08 23:39:50 3

crc5201314
铁牌会员
49.08 价值分

[ 45%] Built target pfs-t
[ 45%] Built target pfs_account-oom-t
[ 45%] Built target comp_sql
[ 46%] Built target GenSysSchema
[ 46%] Built target ngram_parser
[ 46%] Built target gen_lex_hash
[ 46%] Built target GenServerSource
[ 46%] Built target gen_lex_token
[ 46%] Built target GenDigestServerSource
[ 46%] Built target GenBootstrapPriv
[ 46%] Building CXX object sql/CMakeFiles/sql.dir/item_geofunc.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/item_geofunc.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
chmod: cannot access '/usr/local/mysql-5.7': No such file or directory
chown: cannot access '/usr/local/mysql-5.7': No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 91: /usr/local/mysql-5.7/bin/mysqld: No such

file or directory
chmod: cannot access '/home/usrdata/mysql-5.7': No such file or directory
chown: cannot access '/home/usrdata/mysql-5.7': No such file or directory
sed: can't read /usr/local/mysql-5.7/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 95: /usr/local/mysql-5.7/support-

files/mysql.server: No such file or directory
/root/amh/modules/mysql-5.7/AMHScript: line 103: /usr/local/mysql-5.7/bin/mysql: No such

file or directory
[Notice] mysql-5.7 is not installed.


我的是这样的提示,用的2G内存的,N次都不行
  支持 (0分)  反对 (0分)
回复  2021-03-25 23:15:53 4

amysql
创始人
16530.81 价值分

引用:
crc5201314 发表于 2021-03-25 23:15:53
[ 45%] Built target pfs-t
[ 45%] Built target pfs_account-oom-t
[ 45%] Built target comp_sql
[ 46%]...

都一样内存不足的问题,
mysql5.7安装过程需要1G以上的内存,要保证有空余的内存。
或是加多些swap内存。
https://amh.sh/search.htm?keyword=swap&e=1
  支持 (0分)  反对 (0分)
回复  2021-03-26 10:15:59 5

hanhanwen
银牌会员
1653.24 价值分

需要2G内存的,你都不知道我是怎么安装的mysql8.0的!!!哈哈哈。
4GB内存安装了很久呢,,,
PHP8.02G内存可以安装。
  支持 (0分)  反对 (0分)
回复  2021-03-26 19:06:45 6

说什么王权富贵,怕什么戒律清规。印画

陌涛
铝牌会员
403.85 价值分

好家伙,我到现在都用的是5.6版本的MySQL
  支持 (0分)  反对 (0分)
回复  2021-03-27 11:11:59 7

陌涛的记事本

 1  (总1页)
AMH社区列表
用户服务中心