We need a database for the DataHub MVP so it makes sense to use the existing MariaDB instance on an-coord1001.
The initial creation of the database user and schema was done for the prototype here: T299703#7659244
There are two database init scripts provided, one for mysql and one for mariadb:
- mysql based setup: https://github.com/linkedin/datahub/blob/master/docker/mysql-setup/init.sql
- mariadb based setup: https://github.com/linkedin/datahub/blob/master/docker/mariadb/init.sql
We can use either one. The only difference is the mysql version creates a metadata_index table, which according to DataHub slack is no longer used. (TODO: send a PR removing it from the script)