My use-case for it is setting up some databases for
development/testing. I have a script that does three things:

1. Run mysql_install_db if necessary
2. Recreate some dev/test databases, by running some DROP DATABASE IF
EXISTS and CREATE DATABASE statements using mysql_embedded
3. Run mysqld

That way, when mysqld comes up, the dev/test databases are guaranteed
to exist and be empty. Without mysql_embedded/mariadb-embedded, it
would be harder to make this work.

Reply via email to