mysql命令自动补全
【MyCli 】MyCli 是一个 MySQL 命令行工具,支持自动补全和语法高亮。也可用于 MariaDB 和 Percona。【安装方法】$ pip install mycli 【使用方法】$ mycli --helpUsage: mycli [OPTIONS] [DATABASE]Options: -h, --host TEXT Host address of the database. -P, --port TEXT Port number to use for connection. Honors $MYSQL_TCP_PORT -u, --user TEXT User name to connect to the database. -S, --socket TEXT The socket file to use for connection. -p, --password Force password prompt. --pass TEXT Password to connect to the database -v, --version Version of mycli. -D, --database TEXT Database to use. -R, --prompt TEXT Prompt format (Default: "\t \u@\h:\d> ") -l, --logfile FILENAME Log every query and its results to a file. --help Show this message and exit.【连接数据】zsl@zsl-pc ~ $ mycli -localhost -uroot Password: Version: 1.13.1