CakePHP Database connection “Mysql” is missing, or could not be created

后端 未结 18 1419
暖寄归人
暖寄归人 2020-11-30 11:05

There have been several other posts about this, but none of the answers seemed to work for me.

When I navigate to the CakePHP page on my local machine, there is one

18条回答
  •  悲&欢浪女
    2020-11-30 11:39

    It's your model. Open that up and there must be the following line

    public $useDbConfig = 'local';
    

    This overwrites global config & set it back to local

提交回复
热议问题