Had some builds passing a few days ago, but today we have been getting this error even when re-running the passing builds:
“SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers”
Did something change in Pipelines? How can we set the charset of the server? Thanks!
Hi Gillian,
If using MySQL, this might help. Set in my.cnf.
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
collation-server = utf8_unicode_ci
character-set-server = utf8
Found in this link with the same error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but how can we edit my.cnf in bitbucket pipelines?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't use utf8 with MySQL, as it's an alias for their broken utf8mb3 encoding. Explicitly use utf8mb4 (and utf8mb4_unicode_ci)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.