Skip to content

Conversation

@renoirb
Copy link
Contributor

@renoirb renoirb commented Sep 23, 2025

Description

Instead of using an external MariaDB/MySQL client, we can use the container's internal mysql client directly.

The convention being that if db-shell gets into a bash CLI, db-dump creates a database backup, db alone gives access to the main purpose of that container.

Since it's a container for development, and WordPress instance expects only one database, we can assume that this won't do anything in other contexts.

@renoirb renoirb self-assigned this Sep 23, 2025
Instead of using an external MariaDB/MySQL client, we can use the
container's internal mysql client directly.

Since it's a container for development, and WordPress instance expects
only one database, we can assume that this won't do anything in other
contexts.
@renoirb renoirb changed the title Connecting to database shortcut dev.sh db to connect to mysql client CLI Sep 26, 2025
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