v10 更新失败,MYSQLI_SERVER_PUBLIC_KEY
Update failure in v10, MYSQLI_SERVER_PUBLIC_KEY
通过 composer 更新我的 运行 typo3 v10 后(从 v10.x 到 10.y),我得到一个白色站点,当我切换到安装工具时(我可以看到它并在那里登录),我收到以下消息:
Fatal error: Uncaught Error: Undefined constant 'MYSQLI_SERVER_PUBLIC_KEY' in /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php:252 Stack trace: #0 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php(75): Doctrine\DBAL\Driver\Mysqli\MysqliConnection->setDriverOptions(Array) #1 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php(16): Doctrine\DBAL\Driver\Mysqli\MysqliConnection->__construct(Array, 'xyz', 'zyx', Array) #2 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(362): Doctrine\DBAL\Driver\Mysqli\Driver->connect(Array, 'xyz', 'zyx', Array) #3 /cms/public/typo3/sysext/core/Classes/Database/Connection.php(98): Doctrine\DBAL\Connection->connect() #4 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.p in /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php on line 252
服务器来自Strato。
知道吗,出了什么问题?
是的,我在另一个 Typo3 论坛上写过,因为我得不到答案。 ;)
但是,我从 Peter 那里得到了这个失败的答案(非常感谢他!!!):
解决方法:
将“LocalConfiguration.php”中的 DB-Driver 从“mysqli”更改为“pdo_mysql”,一切正常。 :-)
通过 composer 更新我的 运行 typo3 v10 后(从 v10.x 到 10.y),我得到一个白色站点,当我切换到安装工具时(我可以看到它并在那里登录),我收到以下消息:
Fatal error: Uncaught Error: Undefined constant 'MYSQLI_SERVER_PUBLIC_KEY' in /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php:252 Stack trace: #0 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php(75): Doctrine\DBAL\Driver\Mysqli\MysqliConnection->setDriverOptions(Array) #1 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php(16): Doctrine\DBAL\Driver\Mysqli\MysqliConnection->__construct(Array, 'xyz', 'zyx', Array) #2 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(362): Doctrine\DBAL\Driver\Mysqli\Driver->connect(Array, 'xyz', 'zyx', Array) #3 /cms/public/typo3/sysext/core/Classes/Database/Connection.php(98): Doctrine\DBAL\Connection->connect() #4 /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.p in /cms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php on line 252
服务器来自Strato。
知道吗,出了什么问题?
是的,我在另一个 Typo3 论坛上写过,因为我得不到答案。 ;)
但是,我从 Peter 那里得到了这个失败的答案(非常感谢他!!!):
解决方法: 将“LocalConfiguration.php”中的 DB-Driver 从“mysqli”更改为“pdo_mysql”,一切正常。 :-)