我正在嘗試從Symfony 3應用程序連接到MySQL數據庫。但是當嘗試從Symfony控制臺命令創建MySQL模式時,我收到此錯誤:PDO::__construct(): Server sent charset (255) unknown to the client. Please, report to the developersPHP和MySQL都在Docker容器中運行。MySQL版本: 8.0.1PHP版本: 7.1.3司機: pdo_mysql字符集: UTF8DSN: "mysql:host=mysql;dbname=database;charset=UTF8;"有任何想法嗎?
添加回答
舉報
0/150
提交
取消