SQLite and MySQL: running a backup in the browser

Written by

in

A MySQL dump is SQL with a few dialect habits. The playground integration rewrites them into SQLite, writes the database file and drops in the db.php shim.

The reverse direction works too: a SQLite database becomes a MySQL dump you can import anywhere.