It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipelines - Server sent charset unknown to the client Edited

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!


2 answers

1 accepted

1 vote
Answer accepted

In the end we fixed this by editing bitbucket-pipelines.yml so that the PHP version we were using was php 7.1.16 and mysql version was 5.7. 

0 votes

Hi Gillian,

If using MySQL, this might help. Set in my.cnf.



collation-server = utf8_unicode_ci
character-set-server = utf8

 Found in this link with the same error.

Thanks, but how can we edit my.cnf in bitbucket pipelines? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

4,100 views 4 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you