modify the database connection to the public net