2 answers

0 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 8 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

85 views 2 4
Read article

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