Install of confluence 7.11.0 server using mysql 8.0 on Centos 8 fails with error:
error code ; 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?
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.
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.
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...
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