vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   find vbulletin database prefix.... (https://vborg.vbsupport.ru/showthread.php?t=221005)

desi-boy 08-16-2009 09:41 AM

find vbulletin database prefix....
 
plezzzz help meee to find vbulletin database prefix

thnxxx

Lynne 08-16-2009 03:02 PM

You input it in your config.php file:
Code:

//    ****** TABLE PREFIX ******
    //    Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';


desi-boy 08-16-2009 04:20 PM

thnxxxxx for this sir

HMBeaty 08-16-2009 04:23 PM

Quote:

Originally Posted by desi-boy (Post 1868611)
thnxxxxx for this sir

Lynne isn't a "sir" :)

Crotan 07-12-2010 04:11 AM

Don't mean to bump an old thread but this is pretty much exactly what I'm looking for.

I'm installing a add-on that wants to know the DB-prefix in order to install, but in my config.php file like the example code posted there is none. What are the repercussions of just adding in something like "vb_"

Will this harm or screw up anything with the forums?

Lynne 07-12-2010 01:46 PM

If there is no prefix in your config.php file, why would you then want to assume it is "vb_"? Just use no prefix (if the table is called "attachments" then call it "attachments", not "vb_attachments"). As for what will happen if you use a prefix and there is no table with that name (like "vb_attachments"), you'll get a database error "No table called whatever.vb_attachments" (or however it is worded).

Speysider 07-12-2010 02:05 PM

If there's no prefix, don't add one. You'll just get Database Error's everywhere on the page(s) you try to access.

BirdOPrey5 07-12-2010 02:56 PM

DO NOT 'just add a prefix' your entire forum will be inoperable because no tables will have the correct name. If your prefix is blank in config.php that is fine/ok, many people don't bother with them.

Crotan 07-12-2010 07:39 PM

Thanks for all the replies, at least there's a forum somewhere where questions get answered.


All times are GMT. The time now is 05:24 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.00985 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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