gpt4 book ai didi

php - 使用 cae bake 时错误数据库连接丢失

转载 作者:行者123 更新时间:2023-11-29 00:10:06 24 4
gpt4 key购买 nike

我正在尝试使用“蛋糕烘焙”来烘焙我的模型、 Controller 和 View 。当它提示进行数据库配置时,我输入了默认值。然后命令提示符显示一条错误消息说

Database connection "My sql" is missing or could not be created.

我已将环境变量的路径编辑如下;

;C:\wamp\bin\php\php5.4.3;C:\wamp\www\fit or fat\lib\Cake\Console;

我不知道我应该做什么。

最佳答案

打开CakePHP site在浏览器中转到文档/书籍/入门/CakePHP Database Configuration .您会找到有关需要编辑哪些文件以提供数据库凭据的说明。

关于php - 使用 cae bake 时错误数据库连接丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25592708/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com