Change database connection setting