logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MySQL Shell - Control MySQL Databases | Online Free DevTools by Hexmos

Control MySQL databases with MySQL Shell. Connect, query, and manage your MySQL servers from the command line. Free online tool, no registration required.

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 {{username}} --host {{hostname}} --port {{port}}

  • Execute an SQL statement on the server and exit:

mysqlsh --user {{username}} --execute '{{sql_statement}}'

  • 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 {{path/to/file.json}} --schema {{schema_name}} --collection {{collection_name}}

  • Enable verbose output:

mysqlsh --verbose

See Also