فهرست منبع

mycli.md: add page (#1830)

Max Xu 7 سال پیش
والد
کامیت
705e0c8b84
1فایلهای تغییر یافته به همراه15 افزوده شده و 0 حذف شده
  1. 15 0
      pages/linux/mycli.md

+ 15 - 0
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}}`