配置正确,项目运行时确出现,no database selected 。

解决方法:

需要清除 /App/Runtime  runtime~.php文件