Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

1045 connection issue for master/slave replication - have tried all troubleshooting steps

jozefn777Dec 22 2016 — edited Dec 22 2016

hello to all,

I have two sets of master/slave replication set ups.

first set went through replication procedures setting master then slave - started slave - slave connected and replication began - no problem.

second set identical set up to the first but on start up of slave - slave status:

Last_IO_Errno: 1045

                Last_IO_Error: error connecting to master 'repl_user@drupdbprod01.asu.edu:3306' - retry-time: 60  retries: 39

first of all same repl_user on both sets

same password on both sets

same grant statements for repl_user on both sets

On the non-connecting slave - I have done a stop slave, reset slave all,  complete rebuild of change master to master_host,master_user,master_password,master_log_file,master_log_pos

start slave

and the same error as above.

I can use the repl_user at the command line -  mysql -urepl_user -p -h master - and I connect - no problem

I can telnet master 3306 - connect no problem

Are there any more steps that I can use to trace this problem?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 19 2017
Added on Dec 22 2016
1 comment
1,529 views