marcwes
asked on
how to make double connection with mysql replication
i have two network carts
one extern and an other intern.
When i try to make a connection with both of them on
then the connection with mysql server fails.
Problem in detail:
I have two network connections with two different networkcards.
one network card is extern meaning it makes a connection with an extern server
this works fine, but when i enable the other network card which supposed to make
a connection with the internal server then the connection with mysql server terminates.
i have a mysql master-slave replication connection where the master server is extern.
and the slave is internal.
one extern and an other intern.
When i try to make a connection with both of them on
then the connection with mysql server fails.
Problem in detail:
I have two network connections with two different networkcards.
one network card is extern meaning it makes a connection with an extern server
this works fine, but when i enable the other network card which supposed to make
a connection with the internal server then the connection with mysql server terminates.
i have a mysql master-slave replication connection where the master server is extern.
and the slave is internal.
ASKER
i will rephraze the question again to make it clearer because i saw that it is not clearly explained.
The problem is the following.
I have a mysql replication between a master and a slave.
on the server there are two network cards.
one network card makes connection with an external server
on this external server there is the master server.
on another server there is the mysql slave server
the connection between my server and the other server is through
a second network card which is internal
when i enable the connection then the replication fails
it has something to do with routing i think, but i am not sure
any ideas ???
kind regards
The problem is the following.
I have a mysql replication between a master and a slave.
on the server there are two network cards.
one network card makes connection with an external server
on this external server there is the master server.
on another server there is the mysql slave server
the connection between my server and the other server is through
a second network card which is internal
when i enable the connection then the replication fails
it has something to do with routing i think, but i am not sure
any ideas ???
kind regards
Hi, try connecting directly from the slave to the master server through mysqlclient
(i.e. mysql -u root -p -h masterserver) in order to verify if there are routing issues.
Also check on the master server if MySQL is listening on any interfaces (netstat -na | find "3306" on Windows platforms).
Bye,
-Pietro.
(i.e. mysql -u root -p -h masterserver) in order to verify if there are routing issues.
Also check on the master server if MySQL is listening on any interfaces (netstat -na | find "3306" on Windows platforms).
Bye,
-Pietro.
ASKER
the connection works fine
but when i start the local or internal network card then the connection to the master mysql server
fails
do you think that it has something to do with routing??
but when i start the local or internal network card then the connection to the master mysql server
fails
do you think that it has something to do with routing??
ASKER
you are right the connection does not work
when i enable the internal network card
it states that the host is unkown
what should i do ?
when i enable the internal network card
it states that the host is unkown
what should i do ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
We alter the Gateway of the external network card
ASKER
when i enable the internal card, meaning the network card which makes connection between the server and other internal server. then the mysql replication fails.