News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Wez Furlong's Blog:
Using PDO MySQL?
April 24, 2006 @ 07:03:01

In this new post from Wez Furlong, he looks ar some of the things that the native MySQL client library does (the silly things) and recommends an alternative with the PDO libraries.

I've recently discovered a few things about how the mysql client library does things that seem a bit silly to me, so I'm going to share them with you.

Among the things he mentions functionality (dealing with prepared statements) like "native prepared statements cannot take advantage of the query cache" and "native prepared statements cannot execute certain types of queries". The gives a simple line of code to make the database functionality (in PHP 5.1.3 and later) use the native PDO query parser to be loaded versus the one for the standard MySQL client libraries.

0 comments voice your opinion now!
mysql pdo prepared statements client library mysql pdo prepared statements client library


blog comments powered by Disqus

Similar Posts

Matthew Weier O'Phinney's Blog: Migrating OOP Libraries and Frameworks to PHP 5.3

Sameer Borate: Constructing hard regular expressions with VerbalExpressions

Sameer Borate: Efficiently Replicating RETS data to MySQL

Codewalkers.com: Great deal on an awesome PHP/MySQL Book

Matt Stone's Blog: Using the Zend Framework ACL Library in Codeigniter


Community Events





Don't see your event here?
Let us know!


community tool list interview voicesoftheelephpant conference laravel library introduction symfony composer framework series opinion release version language security podcast artisanfiles

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework