Mysql PDO connect implementation