fixed pdo-adapter for mysql