News Feed
Sections




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

Johannes Schluter's Blog:
Direct MySQL Stream Access
November 05, 2008 @ 11:18:57

In a recent post to his blog Johannes Schluter looks at how you can use the new experimental MySQL driver for PHP, mysqlnd, and get into the streams that connect PHP and your MySQL database connections.

Ever wondered what your PHP application and MySQL actually do? An experimental mysqlnd branch will give you full access to the network communication stream. Using a custom PHP stream filter you can then intercept the communication.

He shows how to attach a filter on to the stream and what sort of output it would give for a query that wasn't valid SQL (including all of the "behind the scenes" queries that the database does to get table information from the schema).

0 comments voice your opinion now!
mysqlnd mysql stream access driver filter output


blog comments powered by Disqus

Similar Posts

Wez Furlong\'s Blog: PDO MySQL slides from MySQLUC 2006

Edin Kadribasic's Blog: PHP 4.4.6-win32 with MySQL 5.0.36

Justin Carmony's Blog: MySQL, Redis, and a Billion Rows - A Love Story

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part I

Derick Rethans: Parallelizing document retrieval


Community Events

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


community introduction interview extension api framework development conference language opinion release psr7 laravel5 unittest library podcast laravel wordpress series voicesoftheelephpant

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