Hello

I am trying to get mysql to work with standalone with JIRA 4.3. I can connect to mysql on by linux box and I have a jiradb and jira use set up. Every time I edit my dbconfig.xml file with the my sql entries and restart JIRA i get a 404/tomcat not available. If I switch back to my dbconfig.xml file with the HSQL setttings i get back in. I am not sure if my file is setup right. Am i supposed to put an IP or hostname on the //mysqldbserver:3306 line?

Thanks

<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>

<name>defaultDS</name>

<delegator-name>default</delegator-name>

<database-type>mysql</database-type>

<schema-name>PUBLIC</schema-name>

<jdbc-datasource>

<url>jdbc:mysql://dbserver:3306/jiradb?useUnicode=true&amp;characterEncoding=utf8&amp;sessionVariables=storage_engine=InnoDB</url>

<driver-class>com.mysql.jdbc.Driver</driver-class>

<username>jiradbuser</username>

<password>password</password>

<pool-size>15</pool-size>

<validation-query>select 1</validation-query>

</jdbc-datasource>

</jira-database-config>

1 answer

This widget could not be displayed.

Use the config script under /bin folder to setup the database. You can check the connectivity there. Ip address or hostname shouldn't matter!

http://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+MySQL#ConnectingJIRAtoMySQL-41ConnectingJIRAtoMySQLUsingtheJIRAConfigurationTool

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

142 views 16 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you