这家伙有点懒,还没写个性签名!
数据库连接配置在common/config/main-local.php中 在mysql内添加yii2advanced 然后在cmd内运行 yii migrate问题就解决了。