FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Mysql Issue

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    824
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      daniel.b
      last edited by

      Hello,

      I have installed the system today and everything works like adding users, applications etc however i can view applications on the application page as there is an error of FusionAuth encountered an unexpected error. Please review the troubleshooting guide found in the documentation for assistance and the available support channels.

      Looking at the logs it reads:
      Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '>> '$.state' = 'Active'' at line 3
      at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121)
      at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
      at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:912)
      at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
      at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
      at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
      at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:65)
      at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:80)
      at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:65)
      at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:333)
      at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:158)
      at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:110)
      at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:90)
      at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:154)
      ... 53 common frames omitted

      Any feedback on the issue is appreciated

      mark.robustelliM 1 Reply Last reply Reply Quote 0
      • mark.robustelliM
        mark.robustelli @daniel.b
        last edited by mark.robustelli

        @daniel-b Can you please give us a little more information about your setup? I.E. The configuration, the version of FusionAuth you are using, the version of MySQL etc?

        According to the docs FusionAuth supports MySQL 8.0 or newer. More specifically:

        • MariaDB and Percona may work, however these variants are not actively tested against by FusionAuth.

        • See MariaDB known issues on our GitHub issues.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post