有没有执行mysql的函数?具体是由 CakeSchema 生成的 mysql?
这是我要导入的数据的示例:
$this->Schema = new CakeSchema();
$Schema = $this->Schema->load();
$db = ConnectionManager::getDataSource($this->Schema->connection);
$contents = "\n\n" . $db->createSchema($Schema);