Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Install Confluence Server with Mysql 8 fails

Install of confluence 7.11.0 server using mysql 8.0 on Centos 8 fails with error:

error code [1419]; You do not have the SUPER privilege and binary logging is enabled

According to the install instructions, binary logging must be on, but other sources indicate that when binary logging is on, the SUPER privilege is required by default for certain operations.  There is no mention of this in the Confluence setup doc, and sources report that setting SUPER privilege is not desirable from a security perspective.  Is there a recommended method for setting this up?

 

 

2 answers

@kjhall55 Did you figure this out? I am having the same issue with version 7.11.1.

I ended up giving the ID "SUPER" privilege, that fixed it, but I wasn't happy about it.  The instructions for setting up Confluence (and Bitbucket, and Jira) with mysql are outdated and just plain wrong in places.  It's obvious Atlassian would prefer you use postgresql, I just didn't want to have another database service running on that machine, there are other apps there that use mysql.

We tested that out in our stage environment and it did work. I opened up a support ticket with Atlassian: https://getsupport.atlassian.com/servicedesk/customer/portal/14/CSP-290482.

There are other issues with configuring with MySQL, the documentation is badly outdated..  For example, it specifies using the following to configure the user access to the database:

GRANT ALL PRIVILEGES ON <database-name>.* TO '<confluenceuser>'@'localhost' IDENTIFIED BY '<password>';

 But that doesn't work, "IDENTIFIED BY" seems to be deprecated in current versions of MYSql 8, you need to do the GRANT first without the password, then do ALTER to set the password.

Ran into similar issues with Jira and Bitbucket, in Bitbucket particularly, the latest version of the database connector (8) does not work, you need to use version 5.

These are the issues I remember during the setup, I did finally get everything working, but it was a long slog.

set global log_bin_trust_function_creators=1;

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.11.0
TAGS
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

181 views 3 11
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