Skip to content

orangeullr/docker_mysql_testdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

docker_mysql_testdb

The purpose for this github repository is to provide people who would like to practice
with SQL to host a simple database with an .sql file backup called "employees" found from
a source that includes the following authors, with sample data from Aalborg university:

  • Fusheng Wang and Carlo Zaniolo


The .sql file is loaded as a volume mount as the initial database for the docker entry point.

installation procedure

  1. install docker and docker-compose (if linux [tested on ubuntu]) or with docker on windows
  2. change directory to the root of this repo's directory after cloning
  3. concatenate the contents of split files in the db-dump folder into a file called "employees.sql"
    a. cat db-dump/x* > db-dump/employees.sql
  4. remove the x* files from db-dump
  5. run "docker-compose up" from the root of this directory (on ubuntu) or docker compose up on windows

About

mysql test DB for docker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors