# MySQL Database Setup

Currently, the dmarcts-report-parser project does not set up a database,
yet. (This is on our todo list).

Until then, please configure the database required for dmarcts-report-parser manually:

$ mysql -u root -p
Password: ********

mysql> CREATE DATABASE '<dbname>';
mysql> CREATE USER '<username>'@'<host>' IDENTIFIED BY '<password>';
mysql> GRANT ALL PRIVILEGES ON '<dbname>.*' to '<username>'@'<host>';
mysql> FLUSH PRIVILEGES;
mysql> exit

The database settings then need to be put into /etc/dmarcts-report-parser.conf.
