Welcome Guest, Not a member yet? Register   Sign In
MySQL - master - slave
#6

(This post was last modified: 02-08-2016, 06:50 PM by consigliere.)

What about that?
(01-30-2016, 08:08 PM)siburny Wrote: You can install mysqlnd extension and mysqlnd_ms plugin. It will transparently query slave(s) when needed so no code change is required in your app or CI.

More info here: http://php.net/manual/en/book.mysqlnd-ms.php
yes I know that but in CI active record there is no option to add comments in query? Is there any option for this?

(01-29-2016, 11:33 PM)sv3tli0 Wrote: What do you understand under Mysql Master - Slave ?

If its a Replication MYSQL service handles this relation.

If its some kind of duplication with 2 instances you need to specify 2nd DB connection inside your app..

you just do not get it
Reply


Messages In This Thread
MySQL - master - slave - by consigliere - 01-25-2016, 03:13 PM
RE: MySQL - master - slave - by sv3tli0 - 01-25-2016, 11:00 PM
RE: MySQL - master - slave - by consigliere - 01-29-2016, 07:48 PM
RE: MySQL - master - slave - by sv3tli0 - 01-29-2016, 11:33 PM
RE: MySQL - master - slave - by siburny - 01-30-2016, 08:08 PM
RE: MySQL - master - slave - by consigliere - 02-08-2016, 06:50 PM
RE: MySQL - master - slave - by mwhitney - 02-09-2016, 07:33 AM
RE: MySQL - master - slave - by consigliere - 02-09-2016, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB