is it possible to use MySQL Fabric with JIRA

Hi,

I wonder if JIRA can connect to MySQL Fabric.

I followed dev mysql instruction: https://dev.mysql.com/doc/mysql-utilities/1.5/en/connector-j-fabric-connect.html

Configured dbconfig.xml:
<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>mysql</database-type>
  <jdbc-datasource>
    <url>jdbc:mysql:fabric://localhost:32274/jiradb</url>
    <fabricUsername>admin</fabricUsername>
    <fabricPassword>password</fabricPassword>
    <fabricServerGroup>test_group</fabricServerGroup>
    <driver-class>com.mysql.fabric.jdbc.Driver</driver-class>
    <useUnicode>true</useUnicode>
    <characterEncoding>UTF8</characterEncoding>
    <username>root</username>
    <password>password</password>
    <pool-min-size>20</pool-min-size>
    <pool-max-size>20</pool-max-size>
    <pool-max-wait>30000</pool-max-wait>
    <validation-query>select 1</validation-query>
    <min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis>
    <time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis>
    <pool-max-idle>20</pool-max-idle>
    <pool-remove-abandoned>true</pool-remove-abandoned>
    <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
    <pool-test-on-borrow>false</pool-test-on-borrow>
    <pool-test-while-idle>true</pool-test-while-idle>
    <validation-query-timeout>3</validation-query-timeout>
  </jdbc-datasource>
</jira-database-config>

But when I try to connect I get:
"Unknown database type name com.mysql.fabric.jdbc.Driver "

And, of course, when I use:
<url>jdbc:mysql://localhost:3308/jiradb</url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
everything works...

BRs,
Piotr

1 answer

This widget could not be displayed.

Mysql fabric is not supported. But its not an issue since mysql fabric is a poor choice for database. It has been taken into consideration cause it provieds high availabilility but its not synchronius.

Better solution is to use Galera Cluster as its truly synchronous. Hope someoe will find this info usefull smile

BRs,
Piotr

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...

140 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