View Full Version : find vbulletin database prefix....
desi-boy
08-16-2009, 09:41 AM
plezzzz help meee to find vbulletin database prefix
thnxxx
Lynne
08-16-2009, 03:02 PM
You input it in your config.php file:
// ****** 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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.