oceanbase / oceanbase/docker-images

关于OceanBase Docker部署方式指定初始用户名和密码的问题

Open
#3 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Description

docker run -p 2881:2881 --name obstandalone -e MINI_MODE=1 -v /init:/root/boot/init.d -e OB_ROOT_PASSWORD="root" -d oceanbase/oceanbase-ce
我使用此命令安装部署oceanbase,想要实现2个功能,第一个初始化加载sql脚本,另外一个指定初始化的root用户名,但是失败了,

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's Docker image configuration and the behavior of the shown docker run options, especially MINI_MODE, OB_ROOT_PASSWORD, and the /root/boot/init.d volume. Reproduce the command and inspect the container output to determine why SQL initialization and the requested root credentials fail; done means the supported behavior and required configuration are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
databases, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.