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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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