php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57879 MSSQL Persistent Connections
Submitted: 2007-10-17 11:15 UTC Modified: 2007-10-17 13:28 UTC
From: richardtector at thekeelecentre dot com Assigned:
Status: Not a bug Package: PDO_DBLIB (PECL)
PHP Version: 5.2.1 OS: FreeBSD 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: richardtector at thekeelecentre dot com
New email:
PHP Version: OS:

 

 [2007-10-17 11:15 UTC] richardtector at thekeelecentre dot com
Description:
------------
This is just a feature request for persistent connections support for MSSQL.
I realise this is likely already on the todo list, I just wanted to register interest in it. I would be very happy to do any testing required.
Is anybody already working on this?


Patches

pdo_dblib.patch (last revision 2015-05-07 12:36 UTC by amila at cenango dot lk)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-17 13:28 UTC] wez@php.net
PDO manages persistent connections for all drivers.
See http://php.net/pdo for documentation.
 [2009-08-26 16:37 UTC] cr125rider at gmail dot com
Nope, running 

$dbh = new PDO('dblib:host=localhost:1433;dbname=test', $user, $pass, array(
    PDO::ATTR_PERSISTENT => true
));

errors saying the driver doesn't support it.

Warning: PDO::__construct() [pdo.--construct]: SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes in [file path].php on line ##
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC