Search for MySQL and PostgreSQL quietly
Add ifdef WITH_EXCEPTIONS preprocessor macro