This is a docker-compose file to be use as a sample MySQL server for Katalon example Employees MySQL database project https://github.com/indraginanjar/katalon-example-employees-mysql-database.
employees
database served by the MySQL server is retrieved from datacharmer / test_db's github https://github.com/datacharmer/test_db.
- User has a mysql client application installed in his/her machine
-
Pull sample database files
git submodule update
-
Disable calling other sql/dump files from employees.sql, because it will be failed.
./scripts/test_db_employees_disable_call_dump.sh
-
To start MySQL Service, run:
docker-compose up --force-recreate
To shutdown, the services
docker-compose down -v
To be able access the MySQL server type:
Syntax:
mysql -u root -p