@禪茶一味丿 關于Driver [] is not supported.的錯誤,請大家留心下你的Storage::disk('upload') 的upload字段是否與 filesystem下的自己生成驅動器的名稱一致
2017-06-20
解決方案一、
laravel為了支持某些字符表情使用的是utf8mb4編碼
升級mysql到5.7版本以上讓他支持utf8mb4編碼
解決方案二、
改database.php的配置項
//'charset' => 'utf8mb4',
//'collation' => 'utf8mb4_unicode_ci',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
laravel為了支持某些字符表情使用的是utf8mb4編碼
升級mysql到5.7版本以上讓他支持utf8mb4編碼
解決方案二、
改database.php的配置項
//'charset' => 'utf8mb4',
//'collation' => 'utf8mb4_unicode_ci',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
2017-06-20
注意了!如果數據遷移提示 SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' alre
ady exists 這個錯誤, 在數據庫中找不到 另外的兩個要遷移的表(視頻中的article,student),先將users的表先刪除,然后按照鏈接下的方法操作一次https://zhuanlan.zhihu.com/p/25286161; 之后在運行命令遷移
ady exists 這個錯誤, 在數據庫中找不到 另外的兩個要遷移的表(視頻中的article,student),先將users的表先刪除,然后按照鏈接下的方法操作一次https://zhuanlan.zhihu.com/p/25286161; 之后在運行命令遷移
2017-06-20