You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Spent two days trying to move Jira 8.1 server install to MySQL 5.7.26 but keep getting 'This MySQL instance is not properly configured...' error message.
Followed all the threads I could find online about configuring SSL but the error message persists. Now I want to connect without SSL which I tried several times initially.
When I use the config.sh tool I get the following message:
Wed May 15 15:24:14 BST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
The error message after restarting the server and going through the setup wizard:
This MySQL instance is not properly configured. Please follow the documentation for MySQL 5.7+ setup.
Have been following this document to get the server connected to MySQL 5.7.26 (amongst others describing how to use SSL but not interested in that right now as both DB and server reside in close proximity)
The document above asks us to use config tool to configure the dbconfig.xml file then restart the server but when I do that I get sent back to the configuration wizard, basically going around in a loop! When I reach the wizard the My Own Database (recommended for production environments) option is chosen but keep getting the same error message (must have tried more that 30 times)
Here is the JDBC connection string as amended in dbconf.xml
Have inserted the following in mysql.conf.d/mysqld.cnf
After Trying SSL connection and getting the exact same error I'm no longer pursuing the SSL route for the reasons mentioned above and the sake of creating a simpler environment.
We're using mysql-connector-java-5.1.47
Here is the answer
You need to add "useSSL=false&" this parameters in the dbconfig file.
Example: <url>jdbc:mysql://localhost:3003/jiradatabase?useUnicode=true&"---ADD HERE---"characterEncoding=UTF8&sessionVariables=default_storage_engine=InnoDB</url>
The line that I was able to get - with Jira 8.7.1, and MySQL 5.7.29 to remove the SSL warning was: <url>jdbc:mysql://<IP Address of DB server>:3306/jiradb?useUnicode=true&autoReconnect=true&useSSL=false&verifyServerCertificate=false&characterEncoding=UTF8&sessionVariables=default_storage_engine=InnoDB</url>
The key was the correct use of & and ";" placements - otherwise Jira would hang on the start and not proceed. In my case - internal systems and no need to connect to our database via SSL and this removed all the warnings from my catalina.out file.
I think you need to replace & with &