don't specify socket file for local db
fix database cloning