change character_set_connection utf8mb4 mysql
What client are you using?  You will need to specify that the connection is to be with utf8mb4.

What about the tables?  If you have existing tables, an ALTER ... CONVERT TO will be needed.