mfg
This commit is contained in:
11
.ddev/.global_commands/db/mysql
Executable file
11
.ddev/.global_commands/db/mysql
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
## #ddev-generated
|
||||
## Description: run mysql client in db container
|
||||
## Usage: mysql [flags] [args]
|
||||
## Example: "ddev mysql" or "ddev mysql -uroot -proot" or "echo 'SHOW TABLES;' | ddev mysql"
|
||||
## `ddev mysql --database=mysql -uroot -proot` gets you to the 'mysql' database with root privileges
|
||||
## DBTypes: mysql,mariadb
|
||||
## ExecRaw: true
|
||||
|
||||
mysql -udb -pdb "$@"
|
||||
Reference in New Issue
Block a user