View Single Post
Old 10-24-2007, 07:46 PM  
jacked
sperm tail
 
jacked's Avatar
 
Industry Role:
Join Date: May 2004
Location: nj
Posts: 11,019
Quote:
Originally Posted by viki View Post
You can setup blogs or other scripts on the same DB as long as you put a different table prefix on during the install.
first time i noticed it in the wp-config the other day

Code:
// You can have multiple installations in one database if you give each a unique prefix
$table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!

// Change this to localize WordPress.  A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', '');

/* That's all, stop editing! Happy blogging. */
this is under the MySQL settings in the config just change the prefix to wp_1 instead of wp_ , and you should be good to go.
__________________
Got Cam Models?
icq: 361-607-616
jacked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote