1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:26:01 +02:00

mycli.md: add page (#1830)

This commit is contained in:
Max Xu 2017-12-25 04:47:45 +08:00 committed by Starbeamrainbowlabs
parent 43f484e479
commit 705e0c8b84

15
pages/linux/mycli.md Normal file
View file

@ -0,0 +1,15 @@
# 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}}`