You could replicate the master's mysql db to a different db on the slave.
i think it's 'replicate-rewrite-db'.



On Wednesday 03 December 2003 13.56, Eduardo D Piovesam wrote:
> Hi Fred, thanks for reply.
>
> But we want to replicate the mysql database... we want a exact copy of the
> master.
>
> Is there another way?
>
> Thanks,
> Eduardo
>
>
> ----- Original Message -----
> From: "Fred van Engen" <[EMAIL PROTECTED]>
> To: "Eduardo D Piovesam" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 03, 2003 10:32 AM
> Subject: Re: Replication : blocking updates to slave
>
> > Eduardo,
> >
> > On Wed, Dec 03, 2003 at 10:25:28AM -0200, Eduardo D Piovesam wrote:
> > > We're using replication (1 master + 1 slave), and we want to block
>
> updates /
>
> > > deletes, issued by the users, to the slave.
> > >
> > > Because sometimes they get confused and use the slave as the master...
>
> got
>
> > > it?
> >
> > Give their account different GRANTs on the master than on the slave(s)
> > and make sure that GRANTs (the `mysql` database) are not replicated from
> > the master to the slaves.
> >
> >
> > Regards,
> >
> > Fred.
> >
> > --
> > Fred van Engen                              XB Networks B.V.
> > email: [EMAIL PROTECTED]                Televisieweg 2
> > tel: +31 36 5462400                         1322 AC  Almere
> > fax: +31 36 5462424                         The Netherlands

-- 
Ongame E-Solutions AB
Mikael Fridh
Junior Systems Administrator
Smedsgränd 3, 753 20 Uppsala, Sweden
Mobile: +46 708 17 42 00
Office: +46 18 65 53 57
Fax: +46 18 69 44 11
e-mail: [EMAIL PROTECTED]
http://www.ongame.com/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to