Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

【安装过程】使用sh ./deploy/examples/docker-compose/up.sh时,容器名称“docker-compose-mysql-data-init-1”无法启动。 #694

@LuckySherlock

Description

@LuckySherlock

描述这个问题 这个问题是什么,发生了什么。

在安装过程时,使用sh ./deploy/examples/docker-compose/up.sh时,报错“service "mysql-data-init" didn't complete successfully: exit 123”。

容器信息:da1080c1401e mysql:8 "/init-db.sh" 4 hours ago Exited (123) 7 seconds ago docker-compose-mysql-data-init-1

查看日志:ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LOCAL
) AUTO_INCREMENT = 1 DEFAULT CHARSET = utf8mb4 COMMENT = '消费位点表v' at line 10

如何重现这个问题。

安装过程

预期行为 您的预期行为是什么。

能够安装成功

附加信息 如果可能,请附上您认为可能与此问题相关的其他背景信息。如运行环境、修改的配置、错误日志等。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions