项目作者: narcismpap

项目描述 :
Docker-based legacy MySQL 5.6 utilities for loading and exporting records
高级语言: Shell
项目地址: git://github.com/narcismpap/net.ikigai.ops.mysql.tools.git
创建时间: 2019-10-16T11:23:11Z
项目社区:https://github.com/narcismpap/net.ikigai.ops.mysql.tools

开源协议:MIT License

下载


net.ikigai.ops MySQL Tools

This is a lightweight MySQL 5.6 based service that can help with the archival of legacy
MySQL-based products.

It invokes a MySQL 5.6 server and offers an utility toolset for quick management and per-table exports.

Usage

Operations can be simplified using a custom config file. Simply copy the ./run-example.sh with

  1. cp ./run-example.sh run-XXX.sh
  2. nano ./run-XXX.sh

Create a local DB secret using:

  1. openssl rand -base64 32 > echo > /secrets/db_root.txt

Update your local path and then you can simply load up the system using:

  1. /bin/bash ./run-XXX.sh up|down|build|(any other docker-compose command)

Errors

If you get the following error during the up command:

  1. ERROR: for YYY Cannot create container for service YYY: invalid mount config for type "bind":

It simply means that either the mount volumes or secrets directory is not in your Docker File Sharing settings. See more at Docker Docs.

Available Tools

  1. /bin/bash vadb
  2. 1) Shell
  3. 2) Backup
  4. 3) Quit