Connect to a database with the specified user

mycli

  • A CLI for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting.
    More information: <https://manned.org/mycli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

mycli -u {{user}} {{database_name}}

click the source code to copy install mycli on any operating system with command-not-found.com