triden
12-18-2002, 05:26 PM
Hi there,
i user 4 databases. in 1 database are all the data for vbulletin.
in the other 3 are relevant data for my project.
within my application i have to switch between the 4 databases, so i created a base db_mysql where i create db_sql_base1, db_sql_base2, db_sql_base3 and db_sql_base4.
within the application i have no problems at all.
unfortunally it seems that vbulletin is not able to "stay" at the database "base1" because it tries to use the database which is be used at the moment it want to write.
for example:
the lastactivity want to be written in base1. actually the source is working in base3. (vbulletin is still using the original db_mysql with the DB_sql_vb in the original directory).
in this case i get a email with the errormessage "table base3.user" doesnt exist. i can sove it by creating a table by the name user, but offcourse it is the wring solution.
my question, how can i tell vbulletin, or where is it written, that he allway should use the database from ./admin/db_mysql.php
all databases have their own strukture. alle have there own includes (not for the db_mysql) and their own config file where $DB_site-> will be declared.
i hope it was enough information. i am a little desperate, search for the problem over one week very intensiv...
i user 4 databases. in 1 database are all the data for vbulletin.
in the other 3 are relevant data for my project.
within my application i have to switch between the 4 databases, so i created a base db_mysql where i create db_sql_base1, db_sql_base2, db_sql_base3 and db_sql_base4.
within the application i have no problems at all.
unfortunally it seems that vbulletin is not able to "stay" at the database "base1" because it tries to use the database which is be used at the moment it want to write.
for example:
the lastactivity want to be written in base1. actually the source is working in base3. (vbulletin is still using the original db_mysql with the DB_sql_vb in the original directory).
in this case i get a email with the errormessage "table base3.user" doesnt exist. i can sove it by creating a table by the name user, but offcourse it is the wring solution.
my question, how can i tell vbulletin, or where is it written, that he allway should use the database from ./admin/db_mysql.php
all databases have their own strukture. alle have there own includes (not for the db_mysql) and their own config file where $DB_site-> will be declared.
i hope it was enough information. i am a little desperate, search for the problem over one week very intensiv...