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

后端 未结 18 1405
暖寄归人
暖寄归人 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:21

    In my case it was because the database didn't exist. I expected running ./app/Console/cake schema create would create it but it did not. Creating it with create database in mysql did the trick (although I had already assigned privileges).

提交回复
热议问题