Topic: FrontAccounting with two database
Hi want to know how I can connect FrontAccounting with two Databases.
I have two database, Want to pick and update some values in 2nd database.
Regards
DEep
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Setup → FrontAccounting with two database
Hi want to know how I can connect FrontAccounting with two Databases.
I have two database, Want to pick and update some values in 2nd database.
Regards
DEep
2 databases for the same company?
Switch database in the file config_db.php's dbname element for the appropriate company..
you can do it like this.
$db_connections = array (
0 =>
array (
'name' => 'Company Name 1',
'host' => 'localhost',
'dbuser' => 'root',
'dbpassword' => '123456',
'dbname' => 'first_database',
'tbpref' => '0_',
),
1 =>
array (
'name' => 'Company Name 2',
'host' => 'localhost',
'dbuser' => 'root',
'dbpassword' => '123456',
'dbname' => 'second_database',
'tbpref' => '0_',
),
);
FrontAccounting forum → Setup → FrontAccounting with two database
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.