Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

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

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

Suggest an answer

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

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

81 views 0 9
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