My Oracle Support Banner

PHP Cannot Connect to MySQL 8.0 : Server sent charset (255) unknown to the client. (Doc ID 2579799.1)

Last updated on AUGUST 22, 2019

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

A PHP application cannot connect to MySQL 8.0 (but earlier versions of 5.7, 5.6, 5.5 work okay).

 

Changes

Server was upgraded to MySQL 8.0,  or the default character set was set to UTF8MB4.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.