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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.