Skip to content

MariaDBの起動コマンドをmysqldからmariadbdに変更#1145

Merged
Kentaro1043 merged 2 commits intomainfrom
fix/mariadb-args-command
Jan 6, 2026
Merged

MariaDBの起動コマンドをmysqldからmariadbdに変更#1145
Kentaro1043 merged 2 commits intomainfrom
fix/mariadb-args-command

Conversation

@Kentaro1043
Copy link
Copy Markdown
Contributor

なぜやるか

mysqldコマンドがMariaDBのイメージから削除されたようで、command not fountが出るため

やったこと

  • mysqldmariadbdに置換した。

やらなかったこと

特になし

資料

MariaDB 11.0 リリースノートの該当部分: mysqlコマンドが削除されている。

起動ログ

[Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.8.5+maria~ubu2404 started.
[ERROR] [Entrypoint]: mariadbd failed while attempting to check config
    command was: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --verbose --help
    /usr/local/bin/docker-entrypoint.sh: line 105: mysqld: command not found

Copilot AI review requested due to automatic review settings January 5, 2026 15:06
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 5, 2026

Preview (prod backend + PR dashboard) → https://1145.ns-preview.trapti.tech/

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the MariaDB startup command from mysqld to mariadbd to maintain compatibility with MariaDB 11.8, where the legacy mysqld command has been removed from the official Docker images.

Key Changes:

  • Updated server daemon command from mysqld to mariadbd in Docker Compose and Kubernetes manifests

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
compose.yaml Updated the MariaDB service command to use mariadbd instead of mysqld
.local-manifest/db/mariadb-stateful-set.yaml Updated the MariaDB StatefulSet args to use mariadbd instead of mysqld

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Kentaro1043 Kentaro1043 merged commit e45cbea into main Jan 6, 2026
14 checks passed
@Kentaro1043 Kentaro1043 deleted the fix/mariadb-args-command branch January 6, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants