Bonjour à tous,
Je vous expose mon souci :
Je cherche à faire une réplication en un maitre et un esclave, sauf que cela ne fonctionne pas.
J'ai pourtant suivi tout ce qu'il y avait d'indiquer sur http://dev.mysql.com/doc/refman/5.0/...ion-howto.html
mais lorsque je fais LOAD DATA FROM MASTER; depuis mon slave,
il me metError connecting to master: Access denied for user 'replicat'@'ADMIN135'
Pour information, j'ai créer les utilisateurs replicat sur les 2 serveurs.
j'en déduis que c'est un probleme de droit, mais quand je regarde les fichier de logs, sur le slave, voici ce que cela me met :
et voici ce que cela me met sur le master :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 061222 15:28:57 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: Normal shutdown 061222 15:28:59 [Warning] c:\wamp\mysql\bin\mysqld-nt.exe: Forcing close of thread 3 user: 'replicat' 061222 15:28:59 InnoDB: Starting shutdown... 061222 15:29:02 InnoDB: Shutdown completed; log sequence number 0 43655 061222 15:29:02 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete 061222 15:29:05 InnoDB: Started; log sequence number 0 43655 061222 15:29:05 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=admin135-relay-bin' to avoid this problem. 061222 15:29:05 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: ready for connections. Version: '5.0.27-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL) 061222 15:29:05 [Note] Slave SQL thread initialized, starting replication in log 'repliq' at position 4, relay log '.\admin135-relay-bin.000004' position: 98 061222 15:29:05 [ERROR] Slave I/O thread: error connecting to master 'replicat@xp_akalaan:3306': Error: 'Access denied for user 'replicat'@'ADMIN135' (using password: YES)' errno: 1045 retry-time: 60 retries: 86400
A ce que je comprend il y aurait un pb avec les threads mais la je me perd un peu.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 061222 15:28:57 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: Normal shutdown 061222 15:28:59 [Warning] c:\wamp\mysql\bin\mysqld-nt.exe: Forcing close of thread 3 user: 'replicat' 061222 15:28:59 InnoDB: Starting shutdown... 061222 15:29:02 InnoDB: Shutdown completed; log sequence number 0 43655 061222 15:29:02 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: Shutdown complete 061222 15:29:05 InnoDB: Started; log sequence number 0 43655 061222 15:29:05 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=admin135-relay-bin' to avoid this problem. 061222 15:29:05 [Note] c:\wamp\mysql\bin\mysqld-nt.exe: ready for connections. Version: '5.0.27-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL) 061222 15:29:05 [Note] Slave SQL thread initialized, starting replication in log 'repliq' at position 4, relay log '.\admin135-relay-bin.000004' position: 98 061222 15:29:05 [ERROR] Slave I/O thread: error connecting to master 'replicat@xp_akalaan:3306': Error: 'Access denied for user 'replicat'@'ADMIN135' (using password: YES)' errno: 1045 retry-time: 60 retries: 86400
Pourriez vous m'aiguillez s'il vous plait,
Je vous en remercie par avance,
Partager