I was trying to recover a lost space through MS SQL Server snapshots. I did this: installed MS SQL Server Express on my machine. Created a local account for Confluence. Attached the snapshot. Looks good from a cursory view of the tables. Access works for the Confluence login using MS SQL Server Management Studio with tcpip protocol.
I installed Confluence 4.3 standalone (different from our other EAR/WAR install, but thought it would be easier), inserted our license and came to the database configuration. I could not get the database setup to succeed. I tried both jdbc:jtds and microsoft drivers. I copied both of those drivers' .jar files into Confluence's lib dir and restarted Confluence. I tried these connect strings:
Error: Configuring the database failed. Couldn't create the database schema. java.sql.SQLException: Network error IOException: Connection refused: connect
Error: Configuring the database failed. Couldn't create the database schema.Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0.
(Note, I had downloaded the MS 4.0 driver!)
As mentioned here: https://confluence.atlassian.com/display/DOC/Database+Setup+for+SQL+Server
You need to insert this:
Change the instance name from SQLExpress to something else if you name it differently.
I attended Atlassian Summit 2019 and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...
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