Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers #4371

Closed
david1953 opened this issue Oct 20, 2020 · 3 comments

Comments

@david1953
Copy link

david1953 commented Oct 20, 2020

I am trying to install and use the latest version of PHPMaker 2021. So far, it fails frequently with references to vendor source code. So i don't know who i need to discuss this with. I am using MySql version 8 and PHP version 7.4 The default for MySql charset defaulted to utf8mb4. when that didn't work, i tried utf8, and that didn't work either.

any message, hint or assistance would be greatly appreciated.

this is the debug message I get:

Slim Application Error
Type: Doctrine\DBAL\Exception\DriverException
Code: 0
Message: An exception occurred in driver: SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers
File: C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\AbstractMySQLDriver.php
Line: 128
Trace: #0 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\DBALException.php(182): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDO\Exception))
#1 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\DBALException.php(169): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception), 'An exception oc...')
#2 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOMySql\Driver.php(30): Doctrine\DBAL\DBALException::driverException(Object(Doctrine\DBAL\Driver\PDO\MySQL\Driver), Object(Doctrine\DBAL\Driver\PDO\Exception))
#3 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(362): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'webaccess', 'Parsup-20', Array)
#4 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(1853): Doctrine\DBAL\Connection->connect()
#5 C:\Users\Public\website\pstest\vendor\doctrine\dbal\lib\Doctrine\DBAL\Connection.php(1241): Doctrine\DBAL\Connection->getWrappedConnection()
#6 C:\Users\Public\website\pstest\models\OrderDetails.php(500): Doctrine\DBAL\Connection->executeQuery('SELECT COUNT(*)...')
#7 C:\Users\Public\website\pstest\models\OrderDetails.php(600): PHPMaker2021\pstest\OrderDetails->getRecordCount('SELECT * FROM `...')
#8 C:\Users\Public\website\pstest\models\OrderDetailsList.php(939): PHPMaker2021\pstest\OrderDetails->listRecordCount()
@greg0ire
Copy link
Member

I think you need to report this to the developers of the pdo_mysql driver.

@david1953
Copy link
Author

david1953 commented Oct 20, 2020 via email

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants