Connect to one external database

spider_cadiz 12 Apr, 2011
Hi friends, I'm evaluate chronoconnectivity. I read one post in forum about this, but i'm newbie and i dont know in what file I have put the next code:
<?php
$options = array(
'host' => 'xxx',
'user' => 'xxx',
'password' => 'xxx',
'database' => 'xxx',
'prefix' = 'xxx',
'select' => true
);
$db2 =& new JDatabaseMySQL($options);
?>

Can anybody help me please?
thanks a lot
GreyHead 13 Apr, 2011
Hi spider_cadiz,

What are you actually trying to do here?

ChronoConnectivity is designed to work with the current Joomla! database. You could probably hack it to work with an external database but that might not be the best approach.

Bob
gnikol1 31 Jul, 2012
what shall be done if we want to access an external database?
Max_admin 04 Aug, 2012
Hello,

This may not be an easy hack, the configuration page and the frontend class will need to be changed, I will "try" to add this to the next version.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.