1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 00:17:56 +01:00
tldr/pages/linux/mycli.md
2017-12-24 20:47:45 +00:00

394 B

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}}