Skip to main content

Simple CLI tool to create, delete and dump easily MySQL databases

Project description

MysqlRocket is a Simple CLI tool to create and delete easily MySQL databases.

usage: mysqlrocket [-h] [-v] [-u U] [-H H] [-p P] {mk,ls,rm,st} …

mysqlrocket commands are:

  • mk Create a MySQL database

  • ls Show databases on MySQL server

  • rm Delete a MySQL database

  • status Check your mysqlrocket config and MySQL server connectivity

Optional arguments:

  • -h, –help show this help message and exit

  • -v, –version Show program version.

  • -u U mysql user

  • -H H mysql host

  • -p P mysql password

See ‘mysqlrocket <command> -h’ for more information on a specific command.

Sources https://github.com/cypx/mysqlrocket

Examples

Create a new database

Create a new database and an user account with the same name and a random password

mysqlrocket mk test_database

Show all databases

Show all databases avalaible on your server

mysqlrocket ls

Remove a database

Remove a database and all user account with the same name if they exist

mysqlrocket rm test_database

Check mysqlrocket configuration

Check your mysqlrocket config file and MySQL server connectivity

mysqlrocket st

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mysqlrocket-0.0.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file mysqlrocket-0.0.1.tar.gz.

File metadata

  • Download URL: mysqlrocket-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mysqlrocket-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c34d6dbbe5982e2b64a6fa1fb4a113e4b94b36863a018a45006cf0aa6f5f8bc1
MD5 fb8604fc875bb5b2225d3c6fbc152bfc
BLAKE2b-256 f3cb28a79337dc545d9aecef89de216d19bf1f7cdc034b41897e9bf403113b23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page