Creates a MariaDB connection from an option file.
Details
If .cnf is NULL, db_con() first looks for cnf_path in the global
environment, then for the DATAENTRY_CNF environment variable.
If group is NULL, db_con() first looks for group in the global
environment, then uses "DataEntry".
Once the environment variable is set, this lets
app-level global.R files set only:
group = "DataEntry"