I don't even have a master.info file to remove.

The master.info file never gets written. It won't start replication at all.
It just keeps writing the same error to the log file:
"Slave thread: error connecting to master: Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES) (0), retry in 60 sec"

I don't understand what I have missed that a connection from the slave to
the master is not allowed.

Again, here is what is in my.cnf on the master and the slave.

Master:
-------------------------------
[mysqld]
log-bin
server-id=21
max_binlog_size=512M
-------------------------------

Slave:
-------------------------------
[mysqld]
master-host=ctiadb1
master-user=repl
master-password=replctia
master-port=3306
server-id=87
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
innodb_data_home_dir=
innodb_data_file_path=/innodb_data/idbdata1:10M;/innodb_data/idbdata2:50M;/t
est/innodb_data/idbdata3:100M:autoextend:max:512M
#              Set buffer pool size to 50-80% of computer's memory
set-variable = innodb_buffer_pool_size=160M
set-variable = innodb_additional_mem_pool_size=16M
#              Set log file size to 25% of buffer pool size
set-variable = innodb_log_file_size=40M
set-variable = innodb_log_buffer_size=8M
#              Set innodb_flush_log_at_trx_commit to 0 if you can afford
losing some last transactions
innodb_flush_log_at_trx_commit=1

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/lib/mysql/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
-------------------------------

-----Original Message-----
From: Jeremy Zawodny [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 08, 2002 3:45 PM
To: Jamie Beu
Cc: [EMAIL PROTECTED]
Subject: Re: Replication problem: slave can't log into master


On Thu, Sep 05, 2002 at 09:52:05AM -0400, Jamie Beu wrote:
>
> I am attempting to setup MySQL replication between the ctiadb1 (master)
> server and the ctiadb2 (slave) server.
>
> When I look at the mysql.log file on the slave, I see the following
> (repeated every 60 seconds):
> 020904 12:00:30  Slave thread: error connecting to master: Access denied
for
> user: '[EMAIL PROTECTED]' (Using password: YES) (0), retry in 60 sec
> 020904 12:01:30  Slave thread: error connecting to master: Access denied
for
> user: '[EMAIL PROTECTED]' (Using password: YES) (0), retry in 60 sec
>
> I already typed the following on the Master server:
> grant file on *.* to 'repl'@'%' identified by 'replctia';
> flush privileges;

Perhaps the master.info file on the slave is wrong.  Try removing it
and restatring the slave.
--
Jeremy D. Zawodny     |  Perl, Web, MySQL, Linux Magazine, Yahoo!
<[EMAIL PROTECTED]>  |  http://jeremy.zawodny.com/

MySQL 3.23.51: up 33 days, processed 671,118,015 queries (231/sec. avg)


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