Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful MySQL Queries #149

Open
j0hannr opened this issue Dec 15, 2022 · 0 comments
Open

Helpful MySQL Queries #149

j0hannr opened this issue Dec 15, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@j0hannr
Copy link
Member

j0hannr commented Dec 15, 2022

Helpful MySQL Queries

Delete Usermeta of delete Users

DELETE FROM YvvdnuETGP_usermeta WHERE user_id NOT IN (SELECT ID FROM YvvdnuETGP_users);

Delete Spam User

DELETE FROM YvvdnuETGP_users
WHERE display_name LIKE '%CLICK HERE%'
OR display_name LIKE '%д%'
OR display_name LIKE '%ш%'
OR display_name LIKE '%и%'
OR display_name LIKE '%П%'
OR display_name LIKE '%User%'
OR display_name LIKE '%EUR%'
OR display_name LIKE '%MILLONARIO%'
OR display_name LIKE '%CHF%'
OR display_name LIKE '%arrenberg.app%'
OR display_name LIKE '%yandex%'
OR display_name LIKE '%docs.google.com%'
LIMIT 10000
@j0hannr j0hannr added the documentation Improvements or additions to documentation label Dec 15, 2022
@j0hannr j0hannr self-assigned this Dec 15, 2022
@j0hannr j0hannr pinned this issue Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant