开发者

cakephp is not able to connect to database

I am a cakephp newbie and I tried to setup my connection to mysql. I had it worked before but after I changed my mysql database name, it won't connect anymore even thought I changed the database name in database.php inside the config folder. Do I have to run the cakephp console again??

Your tmp directory is writable.

The FileEngine is being used for caching. To change the config edit APP/config/core.php

Your database configuration file is present.

Cake is NOT able to c开发者_StackOverflow社区onnect to the databa

Above is the message shown. Any ideas what I have to do? Thanks a lot!


Make sure that the new database allows the user in the database.php file to have access to the new database. Look at the MySQL GRANT syntax.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜