Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how I can use the mysql db on the atlas-debug dev mode ?

redcabin March 20, 2013

how I can use the mysql db on the atlas-debug dev mode ?

my team config a test env that use the mysql db .

but everyone use atlas-debug command to run the jira on self compute ,so need to mantis the configure .

if wu execute the commend of atlas-deubg ,the configure will be covered!

if dev env can connect with the test env that used the mysql db , will great!

but I know how to do

whe can tell me ?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2013

Easiest way? After atlas-debug, shut it down and delete the $JIRA_HOME folder in the target folder. Start it back up again and you'll be ask to setup JIRA again.

Then I think you can use "atlas-create-home-zip" to save the configuration locally.

Andreas_Lekas January 26, 2016

This does not work for Confluence. After I deleted the home directory and then restarted atlas-debug, it simply re-created the default home directory.

Like Saurabh Gupta likes this
5 votes
Andrei Cocari September 30, 2014

To add to what Timothy said, for Confluence (not quite sure about Jira), you can remove confluence.cfg.xml which is found inside your Confluence home folder.

Andreas_Lekas January 26, 2016

This is the right answer for Confluence. You have to restart the atlas-debug, though.

So, first atlas-debug, then shutdown Confluence, then delete the confluence.cfg.xml, then execute atlas-debug. Setup happens the next time to access the Confluence instance.

Like Saurabh Gupta likes this
Dmitry Pashkevich September 7, 2016

Note: you'll need to put the MySQL connector driver (mysql-connector-java-XXX-bin.jar) into /target/confluence/webapp/WEB-INF/lib

See https://confluence.atlassian.com/doc/database-jdbc-drivers-171742.html for download links

TAGS
AUG Leaders

Atlassian Community Events