Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-23 00:20:07 +00:00
parent a49466c200
commit cd59a77dc8
31 changed files with 239 additions and 130 deletions

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# mycli
> A command-line client for MySQL that can do auto-completion and syntax highlighting.
> More information: <https://mycli.net>.
> A CLI for MySQL, MariaDB, and Percona that can do auto-completion and syntax highlighting.
> More information: <https://manned.org/mycli>.
- Connect to a local database on port 3306, using the current user's username:
@@ -14,8 +14,8 @@ source: https://github.com/tldr-pages/tldr.git
- Connect to a database (user will be prompted for a password):
`mycli -u {{username}} {{database_name}}`
`mycli {{[-u|--user]}} {{username}} {{database_name}}`
- Connect to a database on another host:
`mycli -h {{database_host}} -P {{port}} -u {{username}} {{database_name}}`
`mycli {{[-h|--host]}} {{database_host}} {{[-P|--port]}} {{port}} {{[-u|--user]}} {{username}} {{database_name}}`