CakePHP v3.2.12の初期設定でつまずいています。
以下の設定まではcomposerからインストール済みで
特に変わったことはしておりません
下記の 'username' => 'root',
'password' => 'root',
'database'=> 'A_database',
を書き換えてもcakephpサーバーで
CakePHP is NOT able to connect to the database.
の表示が変わりません。
実際にターミナルでユーザー名やパスワードで入れるので
それぞれ間違ってはいないと思うのですが、、、、
datebase の名前もたしかにphpmyadmin上作成されていることが
確認できます。
もはや、、、手詰まりです。どなたかおたすけください。
よろしくお願い申し上げます。
'Datasources' => [
'default' => [
'className' => 'Cake\Database\Connection',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'host' => 'localhost',
/**
* CakePHP will use the default DB port based on the driver selected
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
* the following line and set the port accordingly
*/
//'port' => 'non_standard_port_number',
'username' => 'root',
'password' => 'root',
'database' => 'A_database',
'encoding' => 'utf8',
'timezone' => 'UTC',
'flags' => [],
'cacheMetadata' => true,
'log' => false,