Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,316
Community Members
 
Community Events
165
Community Groups

Crowd : Unable to select MySQL during Database configuration

Edited

Hi,

 

I have followed every steps of the configuration in order to setup a connection to a MySQL 5.7 database, but when I validate the setup form I get this error next to the Database select field: "The selected database type is invalid."

 

I found nothing about this error anywhere on the web.

2 answers

I resolved this issue by setting the file rights for that file and restart Crowd service with same attributes as similar files. (I also reinstalled Crowd from scratch before, just in case)

 

chown root:root /opt/atlassian/crowd/apache-tomcat/lib/mysql-connector-java-5.1.47.jar

chmod 664 /opt/atlassian/crowd/apache-tomcat/lib/mysql-connector-java-5.1.47.jar

 

sh /opt/atlassian/crowd/stop_crowd.sh

sh /opt/atlassian/crowd/start_crowd.sh

Did you install the MySQL driver (Step 2 in the documentation?) Oracle no longer allows distribution of the driver, so you have to manually install it.

I did that of course.

What resolved my issue was setting the right rights for that file and restart Crowd service.

chmod 664 /opt/atlassian/crowd/apache-tomcat/lib/mysql-connector-java-5.1.47.jar

sh /opt/atlassian/crowd/stop_crowd.sh

sh /opt/atlassian/crowd/start_crowd.sh

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

174 views 1 3
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