vB: Lost Connection to MySQL server during query vB: Lost Connection to MySQL server during query
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

vB: Lost Connection to MySQL server during query

Started by reteep, May 30, 2005, 11:18:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reteep

Coppermine critical error:
Unable to connect to vBulletin Board database !

MySQL said: Lost connection to MySQL server during query

Quote
//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!

iwlsr5

Right in the briding instructions it says that both apps must use the same database.  merge your databases.


Nibbler

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.