Re: [Replication] Problem connecting to master

2005-08-31 Thread Jan Roehrich
 If nothing helps, trace files could spill the light on your problem.

many thanks for your help. With tracing I found the problem. Like almost
every time it was just a typing error :-(

Regards Jan


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



Re: [Replication] Problem connecting to master

2005-08-30 Thread Gleb Paharenko
Hello.



If nothing helps, trace files could spill the light on your problem.

See:

  http://dev.mysql.com/doc/mysql/en/making-trace-files.html







Jan Roehrich [EMAIL PROTECTED] wrote:

 --skip-networking can be specified as the command line option. Use:

   show variables like 'skip_networking';

 to check if it is enabled.

 

 mysql show variables like 'skip_networking';

 +-+---+

 | Variable_name   | Value |

 +-+---+

 | skip_networking | OFF   |

 +-+---+

 

 

 

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




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



Re: [Replication] Problem connecting to master

2005-08-29 Thread Gleb Paharenko
Hello.



Please send your configuration files for master and slave. Check that

you don't have skip-networking in your slave's configuration file.





Jan Roehrich [EMAIL PROTECTED] wrote:

 I have a strange problem setting up replication. I followed each step of

 setting up replication in the mysqld documentation

 (http://dev.mysql.com/doc/mysql/en/replication-howto.html). 

 

 But there are some error messages on the salve:

 050828 13:22:58 [ERROR] Slave I/O thread: error connecting to master

 '[EMAIL PROTECTED]:3306': Error: 'Can't connect to MySQL

 server on 'alturo.vlugnet.org' (13)'  errno: 2003  retry-time: 60 

 retries: 86400

 

 When I try to connect to the master using same hostname, same user, same

 password with the mysql client it works without problems. 

 

 I tried to drag the problem with ethereal. It seems that the slave doesn't

 even try to connect to the master. There are not even connection attempts

 between master and slave on port 3306.

 

 Also have a look at http://forums.mysql.com/read.php?26,36766 it seems

 that he has the same problem.

 

 As slave I'm using mysql version 4.1.12 on Fedora Core 4. Master is

 3.23.58 on Fedora Core 2.

 

 Any ideas?

 

 Regards Jan

 

 

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




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



Re: [Replication] Problem connecting to master

2005-08-29 Thread Jan Roehrich
 Please send your configuration files for master and slave. Check that
 
 you don't have skip-networking in your slave's configuration file.

Master:
--
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-bin=bin-log
server-id=1

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

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

Slave:
---
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
old_passwords=1
server-id=2
master-host=82.165.25.207
master-port=3306
master-user=replication
master-password=hw4Gabfy


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

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
--

Could not see skip-networking anywhere.

Greetings Jan


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



Re: [Replication] Problem connecting to master

2005-08-29 Thread Gleb Paharenko
Hello.



 Could not see skip-networking anywhere.



--skip-networking can be specified as the command line option. Use:



  show variables like 'skip_networking';



to check if it is enabled.





Jan Roehrich [EMAIL PROTECTED] wrote:

 Please send your configuration files for master and slave. Check that

 

 you don't have skip-networking in your slave's configuration file.

 

 Master:

 --

 [mysqld]

 datadir=/var/lib/mysql

 socket=/var/lib/mysql/mysql.sock

 log-bin=bin-log

 server-id=1

 

 [mysql.server]

 user=mysql

 basedir=/var/lib

 

 [safe_mysqld]

 err-log=/var/log/mysqld.log

 pid-file=/var/run/mysqld/mysqld.pid

 ---

 

 Slave:

 ---

 [mysqld]

 datadir=/var/lib/mysql

 socket=/var/lib/mysql/mysql.sock

 old_passwords=1

 server-id=2

 master-host=82.165.25.207

 master-port=3306

 master-user=replication

 master-password=hw4Gabfy

 

 

 [mysql.server]

 user=mysql

 basedir=/var/lib

 

 [mysqld_safe]

 err-log=/var/log/mysqld.log

 pid-file=/var/run/mysqld/mysqld.pid

 --

 

 Could not see skip-networking anywhere.

 

 Greetings Jan

 

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




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



Re: [Replication] Problem connecting to master

2005-08-29 Thread Jan Roehrich
 --skip-networking can be specified as the command line option. Use:
   show variables like 'skip_networking';
 to check if it is enabled.

mysql show variables like 'skip_networking';
+-+---+
| Variable_name   | Value |
+-+---+
| skip_networking | OFF   |
+-+---+




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



Re: [Replication] Problem connecting to master

2005-08-29 Thread Nuno Pereira

Jan Roehrich wrote:

--skip-networking can be specified as the command line option. Use:
 show variables like 'skip_networking';
to check if it is enabled.



mysql show variables like 'skip_networking';
+-+---+
| Variable_name   | Value |
+-+---+
| skip_networking | OFF   |
+-+---+


It can be a firewall problem... Are you sure that the slave didn't try 
to connect to the master, and got no response, or got a connection refused?

Check the bin-log of the slave for errors in the bin-log.

--
Nuno Pereira

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