mysqlsh
Advanced client for MySQL, supporting SQL, JavaScript, and Python. tldr-pages
On several platforms
Several platforms
Advanced client for MySQL, supporting SQL, JavaScript, and Python. It offers features for managing InnoDB clusters and document store collections.
Start MySQL Shell in interactive mode
mysqlshIdentifyConnect to a MySQL server
mysqlsh --user username --host hostname --port portIdentifyExecute an SQL statement on the server and exit
mysqlsh --user username --execute 'sql_statement'IdentifyStart MySQL Shell in JavaScript mode
mysqlsh --jsIdentifyStart MySQL Shell in Python mode
mysqlsh --pyIdentifyImport JSON documents into a MySQL collection
mysqlsh --import path/to/file.json --schema schema_name --collection collection_nameIdentifyEnable verbose output
mysqlsh --verboseIdentify