oceanbase / docker-images

Official source of container configurations and images for OceanBase products.
https://hub.docker.com/r/oceanbase
Apache License 2.0
0 stars 5 forks source link

[Bug]: Init sql executed failure when starting docker container on slim mode #2

Closed whhe closed 3 weeks ago

whhe commented 5 months ago

Describe the bug

Init sql executed failure when starting docker container on slim mode.

Environment

Docker tag : 4.2.1_bp3 and 4.2.2

Fast Reproduce Steps(Required)

Copy init sql to /root/boot/init.d/ and start docker container on slim mode. The log output:

STDOUT: Executing user defined scripts...
STDOUT: running /root/boot/init.d/init.sql ...
STDERR: ERROR 8001 (08004): Server is initializing
whhe commented 3 weeks ago

Fixed in https://github.com/oceanbase/docker-images/commit/e56c8107d63fe1d9fa0d157738af18ba9344a0fb.