vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Clean database (https://vborg.vbsupport.ru/showthread.php?t=322752)

chikuru 06-01-2016 02:11 PM

Clean database
 
how can I check if there are any database fields from custom plugins or custom database fields that were not successfully deleted from the past?

squidsk 06-01-2016 02:35 PM

Easily, you can't. The not easy way is to look at the installs for all products you've uninstalled check for tables/columns added to the database and see if they're still there. This of course requires that you have access to the install files that you used. The difficult way is to setup a clean install of the appropriate vb version and then compare the tables in both dbs removing any non-vb ones that aren't from current products, then go through each table and do the same thing with columns, this again requires access to install files but only for those products that you're currently using.

cellarius 06-01-2016 02:43 PM

Look at install/mysql-schema.php. Every table or column not in there is not stock.

Be sure to have a backup.

If you have deleted your install directory, as you should, look it up in the download package for your version.

puertoblack2003 06-01-2016 09:19 PM

I know for wordpress there's a plugin that does that. It'll scan your current installed plugin to the uninstalled left over plugins and after the scan it'll give you a list for removal.It was a neat feature that i used. It brought down the database size.

I wish that vbulletin has that feature or pluggin.

Lynne 06-02-2016 02:45 AM

I have no idea if this still works - https://vborg.vbsupport.ru/showthrea...light=database (test on a test site first!!!!)


All times are GMT. The time now is 11:36 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.01059 seconds
  • Memory Usage 1,713KB
  • 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
  • (5)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