vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Finding a previous forum's Table Prefix (https://vborg.vbsupport.ru/showthread.php?t=198159)

inspiration100 12-06-2008 04:02 PM

Finding a previous forum's Table Prefix
 
Can someone help me here... I bought a forum from someone and I would have expected to find the table prefix under phpmyadmin to be named "table" or something similar. But an idiot named it something other than that apparently... How can I distinguish this from all the other prefixes under my database? If I create a new one, will my forum act differently, will I lose information or will it run like before?

punchbowl 12-06-2008 04:19 PM

easiest way is probably to use phpmyadmin to inspect the database.

Or

you can do it through the command line like:

mysql -u root -p

use my_database;

show tables;

If you make a new database then it will be empty.

inspiration100 12-06-2008 04:29 PM

Well I can see all the tables, just which one do I use?

punchbowl 12-06-2008 06:09 PM

are they all prefixed with something? That's what you asked how to find out.

What else do you have in the db?

They may be all vbulletin tables.

Seven Skins 12-06-2008 06:10 PM

If you want to find out the name of the database you are using with your forum.
Download "config.php" form the server it has details of your database. Config.php is located in "includes" folder.

.

punchbowl 12-06-2008 06:13 PM

Quote:

Originally Posted by Seven Skins (Post 1679749)
If you want to find out the name of the database you are using with your forum.
Download "config.php" form the server it has details of your database. Config.php is located in "includes" folder.

.

yes and it also references table prefixes, if any.

inspiration100 12-06-2008 06:41 PM

Thanks guys, you helped me figure it out. They had no prefixes so I left it blank and it worked!

Bravo. Thanks


All times are GMT. The time now is 07:49 AM.

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.00982 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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