vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mysql command (https://vborg.vbsupport.ru/showthread.php?t=94973)

Sco 08-24-2005 02:15 PM

Mysql command
 
Hello,

Im wondering how i can get all the forums to be deleted with a command on Vbulletin. With Execute SQL Query. Im using Vb3.5 Release 2 Thanks

Andreas 08-24-2005 02:56 PM

You mean delete all Posts/Threads?

[sql]
truncate post;
truncate post_parsed;
truncate thread;
truncate word;
truncate postindex;
[/sql]

The rebuild counters.

Marco van Herwaarden 08-24-2005 03:10 PM

I think he wants to delete forums Kirby.

Andreas 08-24-2005 03:16 PM

well ... then add
[sql]
truncate forum;
[/sql]

to the List ;)
(I also forgot subscriptions, deletionlog, editlog, ...)

Sco 08-24-2005 04:05 PM

Hello,

"An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'sco_forum.forum' doesn't exist"

hmm, i supose ill have to go through deleting all of them manually.

Andreas 08-24-2005 04:07 PM

That's one possibility.
But you could also just add your Table-Prefix.

Mental note: Why on earth does everybody use Table-Prefixes?


All times are GMT. The time now is 03:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00898 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete