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


2 answers

This widget could not be displayed.

I don't recommmend to delete a user, better deactivate him.


This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

225 views 3 0
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