* Check if the database name given in config, does exist in the mysql se...

Check if the database name given in config, does exist in the mysql server and handle the error gracefully.