Ulf Wendel

2011/11/29
by admin
Comments Off on Waiting for table metadata lock and PECL/mysqlnd_ms

Waiting for table metadata lock and PECL/mysqlnd_ms

The MySQL administration SQL command SHOW PROCESSLIST may read "Waiting for table metadata lock" in its "State" column for a statement. The statement in question is waiting for another transaction to release a metadata lock. Its a state that may … Continue reading

2011/11/29
by admin
Comments Off on PECL/mysqlnd_ms global transaction ID injection status

PECL/mysqlnd_ms global transaction ID injection status

Baby PECL/mysqlnd_ms 1.2.0-alpha, the PHP MySQL replication and load balancing plugin for mysqlnd, has done its first steps into the direction of global transaction id injection: injection happens, IDs can be queried. A simulated global transaction ids can be described … Continue reading

2011/11/10
by admin
Comments Off on Consistency, cloud and the PHP mysqlnd replication plugin

Consistency, cloud and the PHP mysqlnd replication plugin

Elastic, fantastic: click here to add a MySQL replication database cluster to your cloud configuration. Click – yes, we can! Just one little thing, you need to update your application: consistency model changed. Plan for it. Some thoughts for PECL/mysqlnd_ms … Continue reading

2011/11/09
by admin
Comments Off on Executing MySQL queries with PHP mysqli

Executing MySQL queries with PHP mysqli

The mysqli quickstart series is coming to an end. Today, the post is about non-prepared statements. You may also want to check out the following related blog posts: Using MySQL prepared statements with PHP mysqli Using MySQL multiple statements with … Continue reading

2011/11/07
by admin
Comments Off on Using MySQL multiple statements with PHP mysqli

Using MySQL multiple statements with PHP mysqli

The series Using X with PHP mysqli continues. After notes on calling stored procedures and using prepared statements, its time for a multiple statement quickstart. A mighty tool, if used with care… Using Multiple Statements with mysqli MySQL optionally allows … Continue reading

2011/11/04
by admin
Comments Off on 1.1.2-*stable* release of the replication and load balancing plugin for PHP!

1.1.2-*stable* release of the replication and load balancing plugin for PHP!

PECL/mysqlnd 1.1.2-stable has been released. The mysqlnd replication and load balancing plugin for PHP 5.3/5.4 finally got the download label it deserves: stable, ready for production use! PECL/mysqlnd_ms makes using any kind of MySQL database cluster easier. Download PECL/mysqlnd from … Continue reading

2011/11/03
by admin
Comments Off on Using MySQL stored procedures with PHP mysqli

Using MySQL stored procedures with PHP mysqli

A couple of weeks ago a friend of mine asked me how to use MySQL stored procedures with PHP’s mysqli API. Out of curiosity I asked another friend, a team lead, how things where going with their PHP MySQL project, … Continue reading