mysqlnd may save memory. In the best cases, it may consume only 50% memory as that of libmysql esp. when the client application does not modify the data in the result set after executing a query. Keep in mind that the client must use ext/mysqli and treat the data returned by the query as read-only in order to fully realize mysqlnd's memory gains. If the client application modifies any of the data, mysqlnd behaves just like libmysql.Let's have a quick...
Saturday, 31 January 2009
Monday, 26 January 2009
Demonstrating the Features of MySQL Native Driver for PHP, mysqlnd
Posted on 01:06 by Unknown
Support for Persistent Connectionsext/mysqli does not support persistent connections when built with libmysql. However ext/mysqli does support persistent connections when built with mysqlnd. To establish a persistent connection with the MySQL server using ext/mysqli and mysqlnd, prepend the database host with the string "p:" (p stands for persistent) as shown below.$host="p:localhost";$port=3306;$socket="/tmp/mysql.sock";$user="root";$password="admin";$dbname="test";$cxn...
Monday, 19 January 2009
MySQL Native Driver for PHP, mysqlnd
Posted on 00:19 by Unknown
In order to communicate with the MySQL database server from a PHP application, ext/mysql, ext/mysqli and the PDO MYSQL driver rely on the MySQL client library, libmysql - that has the required implementation for the client-server protocol. The MySQL native driver for PHP (will simply be referred as mysqlnd from this point), is an additional, alternative way to connect from PHP 5 and PHP 6 to the MySQL Server 4.1 or later versions. mysqlnd is a replacement...
Saturday, 10 January 2009
Xorg Screen Resolution Woes on SXCE
Posted on 00:36 by Unknown
Symptom(s)A fresh install of Solaris Express Community Edition (SXCE) build 104 or an upgrade from an earlier SXCE build say 95 on a Toshiba Tecra M2 laptop results in a successful operating environment, but fails to bring up the graphical GNOME environment mainly because Xserver fails to start with errors like :0.0 refused by server.Few ideas to get around the Xserver issue: (apparently I'm not an Xorg expert -- so spare me the criticism in case...
Subscribe to:
Posts (Atom)