MySQLi -> PDO.

Connecting using PDO instead of MySQLi.