Thi Cao wrote:
> 
> Hello everyone,
> 
> This is my first attempt at MySQL database replication.  Can't seem to get
> it to work yet.  The problem reported in the error log of the slave server
> is as follows:
> 
> Error reading packet from server:  Access denied for user 'repl@slave_host'
> (Using password: YES) (read_errno 0,server_errno=1045)
> 
> I believe it has something to do with the way I granted privileges to the
> user repl.  I did the following:
> 
> GRANT FILE ON dbname.* to repl@'%' identified by 'some_password';
> 

Did you do a FLUSH PRIVILIGES after that?  That is needed in some cases.

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
[EMAIL PROTECTED]      http://www.FreeBSD.org     The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
[EMAIL PROTECTED]  http://www.SimTel.Net
---------------------------------------------------------------------
Studies show that 1 out of every 4 Americans suffer some form of
    mental illness.  So look at your three best friends, if they
    are okay it is YOU!

---------------------------------------------------------------------
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

Reply via email to