protected function createDatabase($dbAdapter, $sqlType) { $sql = file_get_contents(GC_APPLICATION_PATH . sprintf('/data/install/sql/database-%s.sql', $sqlType)); $dbAdapter->getDriver()->getConnection()->getResource()->exec($sql); }