mirror of https://github.com/CrimsonTome/tldr.git
16 lines
394 B
Markdown
16 lines
394 B
Markdown
|
# mycli
|
||
|
|
||
|
> A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.
|
||
|
|
||
|
- 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}}`
|