Jump to content
  • 0
Sign in to follow this  
Yoh Asakura

Set all accounts to be blocked / banned

Question

Hi,

 

I know there`s a way to let all the accounts blocked (state = 5 on table login). State = 0 means that the account is ok to login, state = 5 means blocked permanently. How can I set all the accounts to state = 5?

 

Could anyone do a sript sql so I can load on my database? or a npc would be fine also.

I believe it`s more using doing it on SSH...I have MySQL version 5.6.

 

Regards。

 

 

Solved by @@Dastgir

 

 UPDATE `login` SET `state` =5 WHERE account_id>1; 

Edited by Yoh Asakura

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.