Jira Server version: 8.19
MySQL version: 5.7.42
OS: Windows Server 2012 R2 (Jira and MySQL)
I get the following error whenever I try to either create an XML backup or access the Plugin Data Storage area of the Jira UI:
java.lang.RuntimeException: Could not read fields for table ao_187ccc_sidebar_link
...
Caused by: java.sql.SQLSyntaxErrorException: Table 'jira.ao_187ccc_sidebar_link' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) [mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) [mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) [mysql-connector-j-8.0.33.jar:8.0.33]
at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:972) [mysql-connector-j-8.0.33.jar:8.0.33]
at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83) [commons-dbcp2-2.1.jar:2.1]
at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83) [commons-dbcp2-2.1.jar:2.1]
at net.java.ao.schema.helper.DatabaseMetaDataReaderImpl.getResultSetMetaData(DatabaseMetaDataReaderImpl.java:271) [?:?]
at net.java.ao.schema.helper.DatabaseMetaDataReaderImpl.getFields(DatabaseMetaDataReaderImpl.java:91) [?:?]
I don't understand why Jira is even looking for the table ao_187ccc_sidebar_link because that is a Confluence table. We do have a Confluence instance running on the same server and same MySQL instance. Jira is the auth provider for the Confluence server (using internal Jira user directory).
I have tried clearing plugin cache and restarting the server.
Please let me know if you can help.