Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,258
Community Members
 
Community Events
165
Community Groups

After Database refresh from Prod to test getting below error for create space action

org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not execute statement; uncategorized SQLException; SQL state [S0001]; error code [40515]; Reference to database and/or server name in 'Confluence.dbo.CONTENT' is not supported in this version of SQL Server.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Reference to database and/or server name in 'Confluence.dbo.CONTENT' is not supported in this version of SQL Server.
    at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:89)

caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Reference to database and/or server name in 'Confluence.dbo.CONTENT' is not supported in this version of SQL Server.
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:265)

1 answer

1 accepted

0 votes
Answer accepted

This looks like your test server is using an unsupported (too old) version of MS-SQL server.   What version of Confluence and MS-SQL are you using here?

Confluence version :7.13.2

MSSQL: 12.0.41

Yep, thought so, you'll need to move to using a more recent version of the database (I think 12 is nearly a decade out of date)

@Nic Brough _Adaptavist_ -  I got this same error, but I'm running Azure SQL in both instances, and it only shows up in my non-prod instances. I think ti might have something to do with the DB Refresh. 

Which Azure database are you running?

Jira only works with Postgres, Oracle, MySQL and MS-SQL, but Azure can support all of them, so I'm questioning which one you mean by "Azure SQL"

@Bryan Guffey please keep same DB name as in Prod, This will resolve the issue.

@Bryan Guffey

 

Did you ever find an answer, I am having same issue?

@Matthew Stinchcomb please keep the same name as the destination database to resolve this issue.

Unfortunately, that is not an option for me. The database table for prod and test live in the same error so I can't rename it the same. What's odd was I was able to do this before with no issue. This issue just now started.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

164 views 1 3
Read article

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