|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56304 pdo_mssql driver name wrong?
Submitted: 2005-02-16 11:15 UTC Modified: 2005-02-16 13:09 UTC
From: gary dot doades at webroster dot net Assigned: wez (profile)
Status: Closed Package: PDO (PECL)
PHP Version: 5_1 CVS-2005-02-16 (dev) OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: gary dot doades at webroster dot net
New email:
PHP Version: OS:


 [2005-02-16 11:15 UTC] gary dot doades at webroster dot net
I have to use sybase as the driver name for the pdo_mssql extension. Not sure if this is a bug, but is sure is very confusing.

I only found the driver name after a lot of searching.

It may be better if the driver name was mssql if the extension php_pdo_mssql is loaded.

Reproduce code:
$cn = new PDO('mssql:server=gary;database=drb2171','user1.drb2171','user1');

This gives an driver not found error

$cn = new PDO('sybase:server=gary;database=drb2171','user1.drb2171','user1');

works OK.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-16 13:09 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

The next snap build should correct this issue; thanks for sticking with it so far :)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 03:01:32 2024 UTC