2 answers

0 votes

Hi Basil,

Did any of the queries in this knowledge base article troubleshooting character and collation issue in mysql return any result?



I would suggest you to run all the queries in the article first to ensure all the collation and character is correctly set.

Regards,

Jing Hwa

Hello. As I wrote above:

mysql> SELECT * FROM information_schema.COLUMNS WHERE table_schema = 'confluence' AND collation_name != 'utf8_bin';
Empty set (0,01 sec)

mysql> SELECT * FROM information_schema.TABLES WHERE table_schema = 'confluence' AND table_collation != 'utf8_bin';
Empty set (0,00 sec)

Hi Basil,

Have you run all the queries under second solution in the knowledge base article troubleshooting character and collation issue in mysql ?

There are three queries which you are suppose to run but froom what I can see in the comment you have not run this query:

SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = '<databasename>';

Let me know if this return no result as well.

Thanks!
It was necessary to make:

alter database confluence CHARACTER SET utf8 COLLATE utf8_bin;

Glad you managed to find the cause of the issue. :)

Hi everyone,


I encountered the exact same issue. The Kb saved me.


Basil, you should accept the answer if it fixed your issue to show your thanks :).


Cheers,
Brian

alter database confluence CHARACTER SET utf8 COLLATE utf8_bin; solved this issue

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,088 views 17 14
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you