Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luiselizondo/docker-mysql-scripts
A series of useful commands written in python to interact with a MySQL Server running on Docker
https://github.com/luiselizondo/docker-mysql-scripts
Last synced: 12 days ago
JSON representation
A series of useful commands written in python to interact with a MySQL Server running on Docker
- Host: GitHub
- URL: https://github.com/luiselizondo/docker-mysql-scripts
- Owner: luiselizondo
- Created: 2014-09-16T08:17:47.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-15T00:53:41.000Z (about 9 years ago)
- Last Synced: 2024-08-01T19:53:40.053Z (3 months ago)
- Language: Python
- Size: 152 KB
- Stars: 84
- Watchers: 13
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A series of useful commands written in python to interact with a MySQL Server running on Docker
# Motivation
Docker is awesome, but when using MySQL on a Dockerized environment simple tasks can become commands with lots of options and arguments.__Note:__ The following commands will use the official MySQL docker image found at https://registry.hub.docker.com/_/mysql/
# Commands provided
dmysql-server (Start a new MySQL Server)
dmysql (Open the mysql cli)
dmysql-create-database (Creates a new database)
dmysql-import-database (Imports a database)
# Install
Clone or download this project then run:$ cd directory_with_scripts
$ sudo chmod +x dmysql*
$ sudo cp dmysql* /usr/local/bin# License
Released under the MIT License