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: Unable to connect to UDB database ! Mybb 1.4 New version  (Read 11366 times)

0 Members and 1 Guest are viewing this topic.

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Unable to connect to UDB database ! Mybb 1.4 New version
« on: October 08, 2008, 10:45:36 am »

i have set up this script without any problem. About 2 month ago Mybb 1.4 version   (after mybb 1.2) came out. I integrated it to mybb 1.4 with a brigding. Everything works allright, but i have an error -showed below- after the integration is done. Will any brigde come out for Mybb1.4 or what can i do to integrate to Mybb 1.4 version?

error code
Code: [Select]
Unable to connect to UDB database !
MySQL said:
Logged

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #2 on: October 08, 2008, 01:42:07 pm »

No, I don't get an error with invalid credentials to connect to the MySQL Host.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #3 on: October 08, 2008, 05:49:51 pm »

huh? Did you actually read the threads I refered to?
Logged

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #4 on: October 09, 2008, 04:03:04 pm »

I did all you said but the error below occurs

Coppermine critical error:
Unable to connect to database !

MySQL said: Access denied for user 'ODBC'@'localhost' (using password: NO)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #5 on: October 10, 2008, 07:24:56 am »

Logged

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #6 on: October 10, 2008, 03:44:12 pm »

Did you edit your bridge file as Nibbler suggested in http://forum.coppermine-gallery.net/index.php/topic,55072.msg268641.html#msg268641

I have done whay you told me but it gives me the same error. it seems that it is not going to be solved like that
Logged

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #7 on: October 14, 2008, 07:16:06 am »

In this subject , knowledge of somebody ?
Logged

winsomesouls

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #8 on: November 04, 2008, 09:44:22 pm »

Here are instructions for intigrating the new MYBB 1.4.x as your main login for Coppermine 1.4.19 -

Run a FTP program so that you can access your files at your webhost and open the 'mybb.inc.php' file located in your '/cpg1.4.x/bridge' directory. Be sure the cpg1.4.x is the name your actual Coppermine program directory.

Find these lines:

   
Code: [Select]
// Database connection settings
$this->db = array(
'name' => $config['database'],
'host' => $config['hostname'],
'user' => $config['username'],
'password' => $config['password'],
'prefix' =>$config['table_prefix']
);
Now edit the lines to look like this:

   
Code: [Select]
// Database connection settings
$this->db = array(
'name' => $config['database'] = 'insert your database name',
'host' => $config['hostname'] = 'insert your hostname',
'user' => $config['username'] = 'insert your username',
'password' => $config['password'] = 'insert your password',
'prefix' =>$config['table_prefix'] = 'insert the prefix name'
);
Make sure that you use the same MySql settings as your MYBB is using and the prefix name is normally mybb_ unless you changed it to something else. Also be sure you are using the same database name as your MYBB so if it is using mybbdb then insert that.

I had the same issue when trying to install a chat program, I sat around for hrs trying to figure out just what was wrong, the code doesn't connect to the DB at all so you get an error that don't tell you what is wrong, I then started tweeking with the file and got a connection with some errors.

Run the bridge wizard and enjoy!

Sincerely,

Your Friendly MyBB User
« Last Edit: November 04, 2008, 11:08:11 pm by Joachim Müller »
Logged

adigec

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Unable to connect to UDB database ! Mybb 1.4 New version
« Reply #9 on: November 24, 2008, 09:55:34 am »

Thank you very much  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.