How to delete a user directly form the DB ( My Sql )


2 answers

Is there anyway to deactivate the user directly in the MySQL DB?

We can't come via the UI as we are facing following two

1) We have reached the maximum number of users

2) Suspect that there is a damage "JIRA Users" group as we can't login to JIRA web page. Our LDAP sees that users are getting authenticated..


We need to deactivate one user, and then create a local account  directly in the DB


I would ask Atlassian Support in this case. I don't know what happens if you update the "active" field in CWD_USER table.

Your approach won't work. Even if you deactivate the user, it will still appear in Jira as deactivated, and it will hide the internal user. If you move the internal directory above the LDAP directory and then create the user in there, that one will hide the LDAP user. However, that leads me to another question - why? Why do you think you need to add a copy of a user? More specifically, there's not really enough description of the *actual* problem here. You say you're over your user limit - that's fine, an admin can still log in an deactivate as many users as you need to get down below the limit. I'm not sure how you'd "damage" a group, in a way that would stop admins logging in.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,331 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot