Skip to content

mw dev mysql

Releasev0.35.0 · cfeceb67

Watch it in action

Export and restore a MySQL database

Manage the bundled MariaDB service. Use mysql to open its database client; a host database port is not required.

Read mw help guides dev databases for connection settings, or mw help guides dev mysql-dumps for importing and exporting SQL without a terminal.

-c, --context <string>
Development context to use (overrides CONTEXT) Default: default.
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.