- 60-minute sessions
- Start again any time
- Wiped when you finish
What you get
- A running MySQL 8.0 server
- The mysql client in the terminal
- A database workbench in VS Code
- Root access on the machine
Things to try
mysql -e "show databases"List the databases
mysql -e "create database shop"Create a database
mysql shop < dump.sqlImport data from a file
mysql shop -e "show tables"See the tables it created
mysql shop -e "explain select * from orders where customer_id = 7"See how the query runs
mysql -e "show processlist"See who is connected and what they are running
About this playground
The MySQL playground gives you a machine with a MySQL 8.0 server running, and VS Code with a database workbench. Create a database, import a dump, write queries and use EXPLAIN to see why one is slow. You have root access, and the machine is deleted when the session ends.
Frequently asked questions
Is there a free online MySQL playground?
Yes. With a free account you open a real MySQL 8.0 server in your browser, for 60-minute sessions. When one ends you can start another straight away.
Can I import my own database?
Yes. Upload the dump or clone it from Git, then import it with mysql in the terminal.
Is there anything besides the terminal?
Yes. A database workbench in VS Code for writing queries and browsing tables.
Is my data saved?
No. The machine is deleted when the session ends. Keep your SQL scripts in Git to run them again.