MySQL Forums
Forum List  »  PHP

Re: Error 2054 Server sent charset unknown to the client.
Posted by: Peter Brawley
Date: June 03, 2020 08:37AM

Under [mysqld] in my.ini, what is character-set-server?

Should be utf8mb4 or whatever your default is.

Then after login, mysqli_set_charset( $link, yourcharset );

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.