Suppress PDOException when connecting to MySQL

Fixes #17