当前位置:论坛首页 > Linux面板 > 求助

【已完成】安装mysql8.0时卡死,刷新页面无响应

发表在 Linux面板2023-4-16 19:45 [复制链接] 3 3784

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:面板版本7.9.9
系统版本:Ubuntu 22.04.2 LTS x86_64(Py3.7.8)
问题描述:安装mysql8.0,使用编译安装,到95%的时候报错了,导致系统卡死,刷新页面无响应。
相关截图(日志、错误):如下

[ 94%] Building C object CMakeFiles/server_unittest_library.dir/server_unittest_library_dummy.c.o[ 94%] Linking CXX executable ../runtime_output_directory/mysqld[ 95%] Linking CXX shared library library_output_directory/libserver_unittest_library.so/www/server/mysql/src/sql/parser_yystype.h:337: warning: type ‘union YYSTYPE’ violates the C++ One Definition Rule [-Wodr]  337 | union YYSTYPE {      | /www/server/mysql/src/storage/innobase/include/fts0pars.h:50: note: a different type is defined in another translation unit   50 | typedef union YYSTYPE      | /www/server/mysql/src/sql/parser_yystype.h:338: note: the first difference of corresponding definitions is field ‘lexer’  338 |   Lexer_yystype lexer;  // terminal values from the lexical scanner      | storage/innobase/fts0pars.y:62: note: a field with different name is defined in another translation unit/www/server/mysql/src/sql/parser_yystype.h:337:7: warning: type ‘union YYSTYPE’ violates the C++ One Definition Rule [-Wodr]  337 | union YYSTYPE {      |       ^/www/server/mysql/src/storage/innobase/include/fts0pars.h:50: note: a different type is defined in another translation unit   50 | typedef union YYSTYPE      | /www/server/mysql/src/sql/parser_yystype.h:338:17: note: the first difference of corresponding definitions is field ‘lexer’  338 |   Lexer_yystype lexer;  // terminal values from the lexical scanner      |                 ^../storage/innobase/fts0pars.y:62: note: a field with different name is defined in another translation unit./sql/sql_yacc.cc:570: warning: type ‘yysymbol_kind_t’ violates the C++ One Definition Rule [-Wodr]./sql/sql_hints.yy.cc:137: note: an enum with different value name is defined in another translation unit./sql/sql_yacc.cc:576: note: name ‘YYSYMBOL_ABORT_SYM’ differs from name ‘YYSYMBOL_MAX_EXECUTION_TIME_HINT’ defined in another translation unit./sql/sql_hints.yy.cc:143: note: mismatching definitionsql/./sql/sql_yacc.cc:570: warning: type ‘yysymbol_kind_t’ violates the C++ One Definition Rule [-Wodr]sql/./sql/sql_hints.yy.cc:137: note: an enum with different value name is defined in another translation unitsql/./sql/sql_yacc.cc:576: note: name ‘YYSYMBOL_ABORT_SYM’ differs from name ‘YYSYMBOL_MAX_EXECUTION_TIME_HINT’ defined in another translation unitsql/./sql/sql_hints.yy.cc:143: note: mismatching definitionsql/./sql/sql_yacc.h:51: warning: type ‘yytokentype’ violates the C++ One Definition Rule [-Wodr]/www/server/mysql/src/storage/innobase/include/pars0grm.h:46: note: an enum with different value name is defined in another translation unit   46 | enum yytokentype {      | sql/./sql/sql_yacc.h:53: note: name ‘YYEMPTY’ differs from name ‘PARS_INT_LIT’ defined in another translation unit/www/server/mysql/src/storage/innobase/include/pars0grm.h:47: note: mismatching definition   47 |   PARS_INT_LIT = 258,      | ./sql/sql_yacc.h:51: warning: type ‘yytokentype’ violates the C++ One Definition Rule [-Wodr]/www/server/mysql/src/storage/innobase/include/pars0grm.h:46: note: an enum with different value name is defined in another translation unit   46 | enum yytokentype {      | ./sql/sql_yacc.h:53: note: name ‘YYEMPTY’ differs from name ‘PARS_INT_LIT’ defined in another translation unit/www/server/mysql/src/storage/innobase/include/pars0grm.h:47: note: mismatching definition   47 |   PARS_INT_LIT = 258,      |
使用道具 举报 只看该作者 回复
发表于 2023-4-16 19:48:36 | 显示全部楼层
只能被迫重启系统,ssh都无法链接
使用道具 举报 回复 支持 反对
发表于 2023-4-17 09:05:17 | 显示全部楼层
您好,MySQL在Ubuntu22系统版本下是无极速包安装的,只有二进制源码包。
如服务器配置过低,安装MySQL的话,使用到编译模式安装会占用大量服务器资源
从而导致服务器卡死,您可以考虑更换到Debian10或者是Centos系列的版本安装
这些系统存在一个极速安装包,安装时不会占用大量的服务器资源。
使用道具 举报 回复 支持 反对
发表于 2023-4-24 06:46:19 | 显示全部楼层
谢花郎 发表于 2023-4-17 09:05
您好,MySQL在Ubuntu22系统版本下是无极速包安装的,只有二进制源码包。
如服务器配置过低,安装MySQL的话 ...

原来如此,感谢解答
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表