From 705e0c8b84e37a9ffd77dc9a0a5e0777c5ff9865 Mon Sep 17 00:00:00 2001 From: Max Xu Date: Mon, 25 Dec 2017 04:47:45 +0800 Subject: [PATCH] mycli.md: add page (#1830) --- pages/linux/mycli.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/mycli.md diff --git a/pages/linux/mycli.md b/pages/linux/mycli.md new file mode 100644 index 0000000000..72490483cd --- /dev/null +++ b/pages/linux/mycli.md @@ -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}}`