Advanced search  

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

Pages: [1]   Go Down

Author Topic: vB: Lost Connection to MySQL server during query  (Read 11391 times)

0 Members and 1 Guest are viewing this topic.

reteep

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
vB: Lost Connection to MySQL server during query
« 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

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!
Logged

iwlsr5

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: vB: Lost Connection to MySQL server during query
« Reply #1 on: June 15, 2005, 02:23:48 am »

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

denby

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Logged

Nibbler

  • Guest
Re: vB: Lost Connection to MySQL server during query
« Reply #3 on: February 22, 2006, 09:32:12 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 19 queries.