Fix PDO connection.
Fix SQL-typo.