MySQL for event sourcing

Just a short note to help remember the event sourcing setup for MySQL.


CREATE DATABASE eventstore_db;
CREATE USER 'eventstoreuser'@'localhost' IDENTIFIED BY 'changeit';
GRANT SELECT, INSERT ON eventstore_db.* TO 'eventstoreuser'@'localhost';