AFAIK, you can't do it transparently from the MySQL client library. (like in Oracle) You have to accomplish the task in your application, ie: try to connect/select from the master database, if command fails then try the slave1, then slave2, then slave3... and so on. Hint: create you own mysql_connect() and mysql_query().
Gianluca Sordiglioni DB Manager Vox2Web Srl tel. 0245054533 ----- Original Message ----- From: "Massimo Bandinelli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 20, 2002 4:22 PM Subject: Mysql Replication A question: I've a Mysql System with a Master and two slave. Can I configure my master to automatically forward the select queries to = the slaves? Massimo Bandinelli System Administrator --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php