Mediawiki Mendelete User Spam

From OnnoWiki
Revision as of 07:24, 9 July 2015 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Asumsi tables dalam database

wiki_*

Cek struktur database

desc wiki_user;
desc wiki_user_group;

Temukan user

select user_id, user_name from wiki_user;

Delete

DELETE FROM `wiki_user_groups` WHERE ug_user = ID;
DELETE FROM `wiki_user` WHERE user_id = ID;