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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

700 views 6 13
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