Correctly set database name, reformat config.