Unbreak mysql 5.1. Introduce mediators for mysql links.
Merge pull request #139 from pyhalov/mysql-51

Unbreak mysql 5.1. Introduce mediators for mysql links.