mycli
A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting. More information: https://manned.org/mycli.
-
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.