Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion mk-table-checksum --replicate using mysql.sock to connect to slave
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Luke  
View profile  
 More options Sep 22 2011, 9:02 am
From: Luke <luke...@gmail.com>
Date: Thu, 22 Sep 2011 06:02:23 -0700 (PDT)
Local: Thurs, Sep 22 2011 9:02 am
Subject: mk-table-checksum --replicate using mysql.sock to connect to slave
Hi,

I have read through the mailing list and bug reports and have seen
some similar-ish issues, but nothing to actually solve my problem. But
I'm pretty sure I am doing stuff that other people do succesfully - I
just can't figure out where I am going wrong.

I'm running mk-table-checksum to compare a master and a slave for
consistency. The command I am using is:

mk-table-checksum h=localhost,u=user,p=pass --replicate=db.checksum --
create-replicate-table

The output from this command is:

Cannot connect to P=3306,S=/var/run/mysqld/
mysqld.sock,h=slave_ip,p=...,u=user
Cannot connect to P=3306,S=/var/run/mysqld/
mysqld.sock,h=slave_ip,p=...,u=user
(Followed by a list of tables and checksum values etc.

So it looks to me like it works on the localhost, then it tries to
connect to the slave (which is detects the correct ip of), but it is
using the local socket, whilst connecting over TCP/IP.

Do I need to specify that it shouldn't use the local socket? How do I
do that? Or is it possibly an issues with the network/local
configuration/remote configuration causing it to not connect properly?
Or is this a bug?

Thanks,
Luke


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.