mysqlsh
Advanced client for MySQL, supporting SQL, JavaScript, and Python. It offers features for managing InnoDB clusters and document store collections. More information: https://manned.org/mysqlsh.
- Start MySQL Shell in interactive mode:
mysqlsh
- Connect to a MySQL server:
mysqlsh --user --host --port
- Execute an SQL statement on the server and exit:
mysqlsh --user --execute ''
- Start MySQL Shell in JavaScript mode:
mysqlsh --js
- Start MySQL Shell in Python mode:
mysqlsh --py
- Import JSON documents into a MySQL collection:
mysqlsh --import --schema --collection
- Enable verbose output:
mysqlsh --verbose
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
