I'm working with Symfony2 and Mysql 8 . while working on localhost wamp
it workds perfectly but when working on a distant server using a server IIS
the problem accure.
While trying to insert in mysql database, i'm getting the following error
An exception occurred while executing 'INSERT INTO users (name,familyName) values (?,?) with
params["\xe9","name"]:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'name' at row 1
The problem is that i'm inserting a special charachter é
. i'm setting my table as UTF8_mb4.
and all characters get excepted expect é