github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/pkg/ddevapp/global_dotddev_assets/commands/db/mysql (about) 1 #!/bin/bash 2 3 ## #ddev-generated 4 ## Description: run mysql client in db container 5 ## Usage: mysql [flags] [args] 6 ## Example: "ddev mysql" or "ddev mysql -uroot -proot" or "echo 'SHOW TABLES;' | ddev mysql" 7 ## `ddev mysql --database=mysql -uroot -proot` gets you to the 'mysql' database with root privileges 8 ## DBTypes: mysql,mariadb 9 ## ExecRaw: true 10 11 mysql -udb -pdb "$@"