ref. : https://mysqlserverteam.com/mysql-8-0-labs-json-aggregation-functions/
docker-compose up
Credentials :
System : MySQL
Server : db
Username : root
Password : example
Database : (keep it empty)
docker ps
to retrieve mysql container ID
docker exec -ti [mysql container ID] bash
to start shell interface
mysql -u root -p
to run mysql command line cli
-
via shell :
- mysql < setup_ex1.sql
-
via Adminer :
- click on "run sql command"
- copy/paste setup_ex1.sql content
- click on "execute"
-
via shell :
- mysql < setup_ex2.sql
-
via Adminer :
- click on "run sql command"
- copy/paste setup_ex2.sql content
- click on "execute"