change database connection to tcp