[PHPLIB] PHPLib and MySQL: Switch Datebases ? From: Boris Kröger (boris <email protected>)
Date: 01/31/00

Hi !

I've got a problem with PHPLib V. 7.2 and MySQL V. 3.21.33b.

I use two instances of DB_SQL, let's say DB_a and DB_B.
I even use Page/Sesssion-Managment (Database-Connection using DB_A)
(DB_B is for the Shopping-Goods)

If i use now th efpllowing piece of code i got an errormessage:

page_open();
...
$db = new DB_Shop;
...
make some database-operation on DB_B
...
page_close();

The errormessage:
Database error: Invalid SQL: update active_sessions set
...
MySQL Error: 1017 (Can't find file: 'active_sessions.frm' (errno: 2))
Session halted.

What's wrong ?
Must i "switch" between the two Databases ?
Or do i have to include the PHP-Tables in my DB_B (Shopping-Database) ?

greetings
boris

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.