switch local_settings to mysql