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

0 votes

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
Community showcase
Published 6 hours ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

48 views 0 1
Read article

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