2017-12-24 20:47:45 +00:00
|
|
|
# mycli
|
|
|
|
|
|
|
|
> A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.
|
2021-08-16 11:34:01 +01:00
|
|
|
> More information: <https://manned.org/mycli>.
|
2017-12-24 20:47:45 +00:00
|
|
|
|
|
|
|
- Connect to a database with the currently logged in user:
|
|
|
|
|
|
|
|
`mycli {{database_name}}`
|
|
|
|
|
|
|
|
- Connect to a database with the specified user:
|
|
|
|
|
|
|
|
`mycli -u {{user}} {{database_name}}`
|
|
|
|
|
|
|
|
- Connect to a database on the specified host with the specified user:
|
|
|
|
|
|
|
|
`mycli -u {{user}} -h {{host}} {{database_name}}`
|