I'm trying to use a managed database but without success.

Posted January 15, 2020 1.8k views
DigitalOcean Managed MySQL Database

I created a managed database to use with my droplet, imported all fine but when trying to connect via php I get this error
“Server sent charset unknown to the client.”
I understand this is caused by the utfmb4 charset that is configured in the MySql from the managed instance.
How can I change this (to the database level and not schema or table level) so I can work with it?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Can you recreate a db with utf8, re import and try again?

Other fixes usually have to do with mysql config, but you don’t have access to it with a managed instance

Any News about this? I also cannot connect from my PHP application due to the same error “Server sent charset unknown to the client”. Recreation did not fixed it…

Show answer This answer has been marked as resolved by mrhussnain.