RoutineX
03-03-2007, 01:49 PM
I'm trying to write my first product in vB and had some problems with the database connectivity.
I have some data on another database that I don't want to insert into the vB database.
Shouldn't it be enough to give select access to the other database on the vB user and than do a query like:
$somevar = $db->query_first("SELECT blabla FROM unixusername_otherdb.table");
I guess I could install mysql 5 and create a view, but was wondering if there was any other ways.
Thanks =)
I have some data on another database that I don't want to insert into the vB database.
Shouldn't it be enough to give select access to the other database on the vB user and than do a query like:
$somevar = $db->query_first("SELECT blabla FROM unixusername_otherdb.table");
I guess I could install mysql 5 and create a view, but was wondering if there was any other ways.
Thanks =)