Fixed mysql driver not to call mysqli_query
Merge branch 'hotfix-mysql-driver' into release-v0.5