FuelPHPでPDOを利用したMySQLアクセスを行おうとした際に「fuelphp Undefined class constant 'MYSQL_ATTR_COMPRESS'」とエラーがでた場合には、app/config/db.phpを修正すると良いです。 開発環境のみ無効にしたい場合にはapp/config/development/db.phpを修正すれば大丈夫です。 /** * Base config, just need to set the DSN, username and password in env. config. */ 'default' => array( 'type' => 'pdo', 'connection' => array( 'persistent' => false, 'compress' => false, ), 'identifier' => '`