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

Gillian Ng Apr 22, 2018

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
Gillian Ng Apr 23, 2018

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
Edwin Kyalangalilwa Community Leader Apr 23, 2018

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.

Gillian Ng Apr 23, 2018

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,938 views 1 19
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