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

Unknown system variable 'default_storage_engine' when attempting to connect to MySQL 5.1.73 and JIRA 7.3


Attempting a fresh install of MySQL 5.1.73 and JIRA 7.3. Both are running on their own instance of Redhat Linux 6.7

I have installed and setup MySQL and JIRA as per the JIRA guide, placing the mysql-connector-java-5.1.41-bin.jar in atlassian/jira/lib

My my.cnf looks like below:






# Disabling symbolic-links is recommended to prevent assorted security risks










 And the JIRA error I get when going through setup is (JIRA forums failed to let me upload an image):

Error connecting to database

Unknown system variable 'default_storage_engine'


I've tried replacing the - with _ but it made no difference. I don't have a dbconfig.xml yet as I haven't managed to get through the JIRA setup.

My file contains the following line:


which I've tried removing the storage_engine variable from the URL and also renaming to default_storage_engine but this both changes made no difference.


The catalina.out log file has this as the last error:


2017-03-31 05:32:26,408 http-nio-8080-exec-8 ERROR anonymous 332x6x1 6ho9xv!connectionCheck.jspa [c.a.config.bootstrap.DefaultAtlassianBootst$

java.sql.SQLException: Unknown system variable 'default_storage_engine'

        at com.mysql.jdbc.SQLError.createSQLException(

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(

        at com.mysql.jdbc.MysqlIO.sendCommand(

        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(

        at com.mysql.jdbc.ConnectionImpl.execSQL(

        at com.mysql.jdbc.StatementImpl.executeUpdateInternal(

        at com.mysql.jdbc.StatementImpl.executeLargeUpdate(

        at com.mysql.jdbc.StatementImpl.executeUpdate(

        at com.mysql.jdbc.ConnectionImpl.setSessionVariables(

        at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(

        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(

        at com.mysql.jdbc.ConnectionImpl.createNewIO(

        at com.mysql.jdbc.ConnectionImpl.<init>(

        at com.mysql.jdbc.JDBC4Connection.<init>(

        ... 3 filtered

        at java.lang.reflect.Constructor.newInstance(

        at com.mysql.jdbc.Util.handleNewInstance(

        at com.mysql.jdbc.ConnectionImpl.getInstance(

        at com.mysql.jdbc.NonRegisteringDriver.connect(

        at java.sql.DriverManager.getConnection(

        at java.sql.DriverManager.getConnection(

        at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.getTestDatabaseConnection(

        at com.atlassian.jira.config.database.JdbcDatasource.getConnection(

        at com.atlassian.jira.config.database.DatabaseConfig.testConnection(

        at com.atlassian.jira.web.action.setup.SetupDatabase.testConnection(

        at com.atlassian.jira.web.action.setup.SetupDatabase.doValidation(

        at com.atlassian.jira.web.action.setup.SetupDatabase.doConnectionCheck(

        ... 3 filtered

        at java.lang.reflect.Method.invoke(

        at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(

        at webwork.util.InjectionUtils.invoke(

        ... 2 filtered

        at com.atlassian.jira.action.JiraActionSupport.execute(

        ... 7 filtered

        at javax.servlet.http.HttpServlet.service(

        ... 49 filtered


        ... 1 filtered


        ... 28 filtered

        at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(

        ... 27 filtered

        at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(

        ... 28 filtered

        at java.util.concurrent.ThreadPoolExecutor.runWorker(

        at java.util.concurrent.ThreadPoolExecutor$

        at org.apache.tomcat.util.threads.TaskThread$



Now I know there is an issue with MySQL 5.7 and JIRA 7 relating to this, but this is MySQL 5.1.73. There was another post on here a few weeks relating to the exact same issue but the trail went cold so thought I'd post a new post as this is blocking everything for me right now.


 Any help greatly appreciated.




2 answers

1 accepted

0 votes
Answer accepted

I gave up on this, must be some incompatibility between these versions.

For anyone else who stumbles across this issue, the way I got round it was to uninstall MySQL 5.1 and install MySQL 5.6 and everything worked as it was meant to.

I believe the problem stemmed from the default yum repository that ships with Redhat 6 Enterprise. I followed the steps at this link to update the yum repository and then revert to defaulting to MySQL 5.6 (rather than the default which is MySQL 5.7). I installed everything as the rest of the link above instructs, and then continued to setup as per JIRA instructions and everything worked first time.  


The name of the variable containing the "Default Storage Engine" changed between MySQL 5.5.3 and 5.7.5 . 

Before 5.5.3, there was only "storage_engine". Starting with 5.5.3, one could use both "storage_engine" and "default_storage_engine". Beginning with 5.7.5, only "default_storage_engine" remained.

BTW: The release date of MySQL 5.5.3 was 2010-03-24, that of MySQL 5.7.5 was 2014-09-25.

it's work.

in MySQL 5.1 (default version on CentOS6.7) + jira 7.13.

modify dbconfig.xml


donot test in , just run

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,099 views 7 0
Join discussion

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