This topic is locked

How to Change DB Connection on the fly

8/27/2009 12:01:15 AM
PHPRunner General questions
L
ljmjava author

Hello.

I use mysql Master/Slave mode in PHP Project.

Iwant make some 'Select * from xxx' search sql to execute on the Slave mysql Db server.

How can I change the conn on the fly in PhpRunner?
May be I can Change the Db Connection in some Page Init Event?
everybody can help me will got a kiss. please......