set persistent connection from the database.php config file