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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
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