从今天早上开始,我尝试将Symfony连接到mySQL。 这是我的.env: DATABASE_URL=mysql://root:@127.0.0.1:3306/shop?DATABASE_HOST=127.0.0.1 这是我的doctrine.yaml: dbal: # configure these for your database server
driver: 'pdo_mysql
我正在尝试从Symfony 3应用程序连接到一个MySQL数据库。但是,当尝试从Symfony控制台命令创建MySQL模式时,我得到了以下错误:PDO::__construct(): Server sent charset (255) unknown to the clientPlease, report to the developersPHP版本:7.1.