项目作者: mesmacosta

项目描述 :
Scripts with the goal to enable easy usage of some MySQL operations.
高级语言: Python
项目地址: git://github.com/mesmacosta/cloudsql-mysql-tooling.git
创建时间: 2020-04-29T19:51:59Z
项目社区:https://github.com/mesmacosta/cloudsql-mysql-tooling

开源协议:MIT License

下载


cloudsql-mysql-tooling

Scripts with the goal to enable easy usage of some MySQL operations.

INIT database

  1. ./init-db.sh

Creating Schemas and Tables in MySQL

  1. ./connect-db.sh

Provide your password when prompted, then execute:

  1. CREATE SCHEMA MY_SCHEMA;
  2. CREATE TABLE MY_SCHEMA.MY_TABLE (name INT, address TEXT);
  3. exit

Clean up MySQL Schemas and Tables

  1. ./cleanup-db.sh

Delete the MySQL database

  1. ./delete-db.sh