connect to more than on database

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
trivera
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 26.12.2006, 18:39

connect to more than on database

Post by trivera »

In ODBC you can submit two databases for fail safety. if the primary database goes down then it automatically switches to the secondary and continues to write data to the backup databse. Does zeoslib has a similar functionality? if it does which version contains that functionality?

thank you for your help.
User avatar
fduenas
Zeos Dev Team
Zeos Dev Team
Posts: 132
Joined: 26.08.2005, 08:12
Location: Cancún

Post by fduenas »

I Didn´t knew about this odbc functionality. But i don´t think zeos could have this functonality yet.
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

Neither me.

Well, on a first look, you can emulate this behaviour using onConnect and onDisconnect of TZConnection and looping through an array of possible databases.

It will be needed only when stay up is at high priority, although.
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
Post Reply