Improve illegal_database_name error message