Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lavoiesl/mysql-bash-scripts


https://github.com/lavoiesl/mysql-bash-scripts

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# MySQL Bash Scripts

Collection of Bash script to manage MySQL databases, users and privileges

Also include utilities to output ini configuration to a project folder, to use in a Web project for example.

## Configuration

The `config.sh` should not be touch; instead, create a `config-local.sh` and overwrite any configuration.

## Usage

Those files define functions to be used as you wish:

* database.sh
* project.sh
* user.sh
* config_file.sh

Function names are pretty self-explanatory, look at the code to know what they do.

## Example

See `create-mysql-db-env.sh` for a full example