MySQL Master/Slave with Castle Activerecord -


I have an existing web application using Castle Accordord to interact with a single MySQL database. Recently the database has been reconfigured to copy many slaves.

Do you write Castle EverCardord directly to MySQL Master and read MySQL slaves or other ways to get master / slave? Transparent operation in this setup?

I have never done that, but I think that this kind of things should be db-driver level . Actually, for this purpose there is no ambiguous reference to its replication:

host, server, data source, datosrass, address, addresser, network address:

example The name or network address of multiple hosts to connect MySQL & amp; Can be specified separately from. This can be useful where multiple MySQL servers are configured for replication and you are not concerned about the exact server you are connecting to. No one is attempting to synchronize the database by the provider to write, so the care should be taken while using this option. In Unix environment with Mono, this may be a fully qualified path of MySQL socket file name. With this configuration, the Unix socket will be used instead of the TCP / IP socket. Currently only one socket name can be given so that MySQL can be accessed in a repetitive environment using Unix Sockets.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -