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.
PyPI package http://pypi.python.org/pypi/mysqlrocket
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mysqlrocket-0.0.4.tar.gz
.
File metadata
- Download URL: mysqlrocket-0.0.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6868eb30613e6d6d21cd6b828428187175bdb8b67e39a688d4eaa317cb713322 |
|
MD5 | 28ad1b5907d8671cb84c19c5cf4efe25 |
|
BLAKE2b-256 | 572830cd7e2b7cc452d3dd8b58b61836c2ce0cb61240b4dd40fa24b6094fb518 |