Unable to connect to UDB database ! Mybb 1.4 New version Unable to connect to UDB database ! Mybb 1.4 New version
 

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

Unable to connect to UDB database ! Mybb 1.4 New version

Started by adigec, October 08, 2008, 10:45:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adigec

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
Unable to connect to UDB database !
MySQL said:


adigec

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

Joachim Müller


adigec

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)

Joachim Müller


adigec

Quote from: Joachim Müller on October 10, 2008, 07:24:56 AM
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

adigec


winsomesouls

#8
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:

   // 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:

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