forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: reteep on May 30, 2005, 11:18:11 am
-
Coppermine critical error:
Unable to connect to vBulletin Board database !
MySQL said: Lost connection to MySQL server during query
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '******'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'dbname'); // The name of the database used by the board
define('VB_DB_HOST', 'addy.to.mysql'); // The name of the database server
define('VB_DB_USERNAME', 'dbname'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'dbpw'); // The password to use to connect to the database
// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/vb/');
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
define('VB_COOKIE_PREFIX', 'bb'); // Cookie Prefix, not supported by vBulletin 2
Coppermine is in db_forum_gallery
and the forum is in db_forum
Two seperate databases but same login for both.
What could be the problem?
Thanks!
-
Right in the briding instructions it says that both apps must use the same database. merge your databases.
-
No you don't. See http://forum.coppermine-gallery.net/index.php?topic=28263.0
-
In 1.3 they need to be in the same database, for 1.4 they don't. The code differs between versions which is why the support sections are separated.