PHP Mysql-adapter Resources