local/live database config