changed MySQL4 reference to resource as Mysql4 is deprecated within Magento