質問編集履歴

1

追記

2016/11/12 11:34

投稿

ssk
ssk

スコア332

test CHANGED
File without changes
test CHANGED
@@ -75,3 +75,77 @@
75
75
  MySQLは以下のディレクトリにあります。
76
76
 
77
77
  /opt/local/lib/mysql56/bin/mysqld
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+ ✓追記
86
+
87
+ ーーーーーーーーーーーーーーーーーーーー
88
+
89
+ /config/app.php
90
+
91
+ ```php
92
+
93
+ 'Datasources' => [
94
+
95
+ 'default' => [
96
+
97
+ 'className' => 'Cake\Database\Connection',
98
+
99
+ 'driver' => 'Cake\Database\Driver\Mysql',
100
+
101
+ 'persistent' => false,
102
+
103
+ 'host' => 'localhost',
104
+
105
+ /**
106
+
107
+ * CakePHP will use the default DB port based on the driver selected
108
+
109
+ * MySQL on MAMP uses port 8889, MAMP users will want to uncomment
110
+
111
+ * the following line and set the port accordingly
112
+
113
+ */
114
+
115
+ //'port' => 'non_standard_port_number',
116
+
117
+ 'username' => 'root',
118
+
119
+ 'password' => 'pass',
120
+
121
+ 'database' => 'sample',
122
+
123
+ 'encoding' => 'utf8',
124
+
125
+ 'timezone' => Asia/Tokyo,
126
+
127
+ 'flags' => [],
128
+
129
+ 'cacheMetadata' => true,
130
+
131
+ 'log' => false,
132
+
133
+
134
+
135
+ ```
136
+
137
+ のように
138
+
139
+
140
+
141
+ 'timezone' => 'Asia/Tokyo',を'timezone' => Asia/Tokyo
142
+
143
+ に変更したところ、エラーはでませんでした。
144
+
145
+
146
+
147
+
148
+
149
+ このままで大丈夫なのでしょうか?
150
+
151
+ できれば、エラーの原因含め教えていただけると助かります><