Cannot connect to MySQL

I'm moving from Atlassian cloud stack to self-hosted. Debian servers, one web, one mysql. I've installed all the software and connectors. Jira installed perfectly - despite having an login issue (other question)

BUT I cannot even install Confluence, it doesn't want to connect to the database hosted on the other server. I am not that familiar with JDBC but I am with MySQL and webtech in general. I don't understand why Jira works while Confluence doesn't - even the connection wizard is different.

Have a meeting now, will look further into this later. Just hope the import/export from Cloud works better then from Jira. :-/

1 answer

Found the solution: something messed up the users on the MySQL servers. But now after the import failed, I cannot do anything anymore and have a the 

Confluence does not start due to Spring Application context has not been set

error. I've cleared the db, removed the xml config file a bunch of times to no avail. The import failed. My server meets the minimum requirements al be it just.

My confluence cloud does not have much data yet, so I want to start over with a fresh install - but I'm a bit puzzled why it doesn't work at all anymore. I was expected to get the wizard again after removing the file.

it is the file in the app_data dir? or is there another one?

 

Ann Worley Atlassian Team Aug 17, 2017

You should get the setup wizard again if you delete confluence.cfg.xml in the root of the confluence home directory, defined in <confluence_install>/confluence/WEB-INF/classes/confluence-init.properties.

Since you are starting over you may as well delete the whole home directory. The startup will recreate it.

I recommend running through the whole setup wizard, then restoring your Cloud data through the Backup and Restore page of the Confluence admin console, rather than importing during the setup wizard.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

602 views 18 16
View question

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