Error connecting to database Unknown system variable 'default_storage_engine' : Mysql

Hi I am trying to configure Mysql database in JIRA facing connection issue. Below are the details







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








Mysql version: 5.1.73

JIRA  version: 7.3.2

Below is log file error

http-nio-8090-exec-20 ERROR anonymous 903x201x1 kq783f /secure/SetupDatabase!connectionCheck.jspa [c.a.config.bootstrap.DefaultAtlassianBootstrapManager] Could not successfully test your database:

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$




3 answers

0 votes

Have a closer look at how you have used - and _ in your posted mysql.cnf

0 votes
Gaston Valente Community Champion Mar 15, 2017


Are you using MySQL 5.7?



Mysql version: 5.1.73

Gaston Valente Community Champion Mar 15, 2017

Ok, are you using Atlassian configuration tool yo setup the dbconfig.xml?

Can you post the dbconfig.xml file?

This is first time I am installing Jira, I am trying in setup wizard.


I have the same error, even when replacing - by _ in my.cnf

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,873 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot