Cannot find license key for JIRA 3.7.3

I'm using the query specified in this article.  However, it seems that the propertytext table is empty.  Running "select * from propertytext" returns nothing.

How can I retrieve the license key from JIRA 3.7.3?

2 answers

1 accepted

If you have Jira installed you will have a couple of thousand lines in the propertytext, as seen here below:

mysql> select count(*) from propertytext;
| count(*) |
|     9303 |

Another path to your license key would be logging into and retrieve it there. Additionally, if JIRA is indeed installed, you should be able to see where the database is located, as this is probably not the production database once used. You can do that by doing this in Linux:

root@<>:~# locate dbconfig.xml
root@<>:~# locate dbconfig.xml
root@<>:~# cat /opt/atlassian/application-data/jira-prod/dbconfig.xml | grep url

The top dbconfig.xml seems most likely to be the correct (as the other one contain backup in the foldername). By greping through the file for "url" you will find the string connecting to it. If you are indeed on the same DBSERVERNAME and DATABASENAME, make sure you connected with a user that has access to the database. By simply cat'ing the file without the grep you will find the credentials that allowed JIRA access to the database, try to reconnect with the right username, might allow you to find the key like this.

select count(*) from propertytext returns 0.  It is the production database though.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

71 views 0 5
Read article

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