Jump to content
¯\_( ツ)_/¯
  • TAD GROUP are currently hiring penetration testers. Please read the topic in Career Central subforum.
  • Sponsored Ad
ТУК НЕ СЕ ПРЕДЛАГАТ ХАКЕРСКИ УСЛУГИ ! ×
Sign in to follow this  
ForumHack

Няколко полезни SQL команди за вашата IPS 4 общност

Recommended Posts

Няколко полезни SQL команди за вашата IPS 4 общност

sql.png.67563dfac8faafcaa755b8f3a59d7e6b.png

Изтриване на  Admin Logs:

TRUNCATE TABLE core_admin_logs

Изтриване на Moderator Logs:

TRUNCATE TABLE core_moderator_logs

Изтриване на System log:

TRUNCATE TABLE core_log

Изтриване на error log:

TRUNCATE TABLE core_error_logs

Изтриване на tasks log:

TRUNCATE TABLE core_tasks_log

Изтриване на Band filters:

TRUNCATE TABLE core_banfilters

Изтриване на Members warn logs:

TRUNCATE TABLE core_members_warn_logs

Промяна на всички предупредителни нива (Change all warning levels) 0 :

UPDATE core_members SET warn_level = 0

Промяна на кодировката на база данни:

ALTER DATABASE `YOUR DATABASE` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

Промяна на кодировката на таблица в базата данни:

ALTER TABLE `YOUR TABLE` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci, CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci

 

  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.