Skip to content

Conversation

@978814197
Copy link

What

Add USE opencoze; to the MySQL init script.

Why

MySQL init logs show: ERROR 1046 (3D000) No database selected, so tables fail to create.

How

  • Insert USE opencoze; after CREATE DATABASE IF NOT EXISTS opencoze ...
  • File: docker/volumes/mysql/schema.sql

Testing

Not run (SQL init only).

Fixes #2605

@CLAassistant
Copy link

CLAassistant commented Feb 2, 2026

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

MySQL init SQL fails with “No database selected” (missing USE)

2 participants