GreatSQL社区

搜索

[已解决] 在Win10系统上使用docker部署GreateSQL报错

172 2 2024-8-9 15:52
一、在Win10系统上使用docker部署GreateSQL报错,导致容器起不来,部署报错日志:


2024-08-09 15:42:48 ERROR: mysqld failed while attempting to check config
2024-08-09 15:42:48 command was: "mysqld --verbose --help"
2024-08-09 15:42:48 2024-08-09T07:42:48Z UTC - mysqld got signal 8 ;
2024-08-09 15:42:48 Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
2024-08-09 15:42:48 BuildID[sha1]=a1f65e4cb714f65d274e6079cb57f378fac77ac2
2024-08-09 15:42:48
2024-08-09 15:42:48 Build ID: a1f65e4cb714f65d274e6079cb57f378fac77ac2
2024-08-09 15:42:48 Server Version: 8.0.32-26 GreatSQL (GPL), Release 26, Revision a68b3034c3d
2024-08-09 15:42:48
2024-08-09 15:42:48 Thread pointer: 0x0
2024-08-09 15:42:48 Attempting backtrace. You can use the following information to find out
2024-08-09 15:42:48 where mysqld died. If you see no messages after this, something went
2024-08-09 15:42:48 terribly wrong...
2024-08-09 15:42:48 stack_bottom = 0 thread_stack 0x100000
2024-08-09 15:42:48 /usr/sbin/mysqld(my_print_stacktrace(unsigned char const*, unsigned long)+0x2e) [0x227d61e]
2024-08-09 15:42:48 /usr/sbin/mysqld(print_fatal_signal(int)+0x3af) [0x13493af]
2024-08-09 15:42:48 /usr/sbin/mysqld(handle_fatal_signal+0xc5) [0x1349485]
2024-08-09 15:42:48 /lib64/libpthread.so.0(+0x12d80) [0x7f864a96fd80]
2024-08-09 15:42:48 /usr/sbin/mysqld(sched_affinity::Sched_affinity_manager_numa::init(std::map<sched_affinity::Thread_type, char const*, std::less<sched_affinity::Thread_type>, std::allocator<std::pair<sched_affinity::Thread_type const, char const*> > > const&, bool)+0x3e) [0x105218e]
2024-08-09 15:42:48 /usr/sbin/mysqld(sched_affinity::Sched_affinity_manager::create_instance(std::map<sched_affinity::Thread_type, char const*, std::less<sched_affinity::Thread_type>, std::allocator<std::pair<sched_affinity::Thread_type const, char const*> > > const&, bool)+0x54) [0x1050bc4]
2024-08-09 15:42:48 /usr/sbin/mysqld(mysqld_main(int, char**)+0x25a4) [0xfda914]
2024-08-09 15:42:48 /lib64/libc.so.6(__libc_start_main+0xe5) [0x7f8648cf78a5]
2024-08-09 15:42:48 /usr/sbin/mysqld(_start+0x2e) [0xdd9cde]
2024-08-09 15:42:48 Please help us make Percona Server better by reporting any
2024-08-09 15:42:48 bugs at https://bugs.percona.com/
2024-08-09 15:42:48
2024-08-09 15:42:48 You may download the Percona Server operations manual by visiting
2024-08-09 15:42:48 http://www.percona.com/software/percona-server/. You may find information
2024-08-09 15:42:48 in the manual which will help you identify the cause of the crash.


二、使用的镜像
registry.cn-beijing.aliyuncs.com/greatsql/greatsql:8.0.32-26

三、部署命令

docker run -d \
--name greatsql --hostname=greatsql \
-p 3308:3306 -p 33080:33080 -p 33062:33062 \
-e MYSQL_ROOT_PASSWORD='123' \
-lower_case_table_names=1 \
-e TZ=Asia/Shanghai \
greatsql/greatsql【这里换掉换成images的】


四、参考文献
https://mp.weixin.qq.com/s/lHnTVw7ldms3mqHphnPHpQ



全部回复(2)
reddey 2024-8-9 16:17:12
看到第4行的日志,好像是遇到了BUG。
一个学艺不精的国产数据库爱好者
yejr 2024-8-9 16:28:14
看起来像是遇到了docker兼容性的bug,一开始就报错了


  1. 2024-08-09 15:42:48 ERROR: mysqld failed while attempting to check config
  2. ...
  3. 2024-08-09 15:42:48 Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
复制代码


可以试试在win10下跑个Linux虚拟机,再在Linux虚机中跑docker。

最好还是用原生的Linux环境来跑docker会更可靠。
牛牛错在哪里啦

1

主题

0

博客

2

贡献

新手上路

Rank: 1

积分
3

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-12-4 01:21 , Processed in 0.021415 second(s), 16 queries , Redis On.
快速回复 返回顶部 返回列表