Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

"Bad Handshakee" error when connecting #10

Open
denisahearn opened this issue Jun 6, 2017 · 0 comments
Open

"Bad Handshakee" error when connecting #10

denisahearn opened this issue Jun 6, 2017 · 0 comments

Comments

@denisahearn
Copy link

denisahearn commented Jun 6, 2017

I am trying to use this library from Ruby via Kodama (https://github.com/y310/kodama) and ruby-binlog (https://bitbucket.org/winebarrel/ruby-binlog).

When I run the example code at https://github.com/y310/kodama#simple-client, I get the following error:

D, [2017-06-06T07:37:42.648412 #99723] DEBUG -- : MySQL server has gone away (Binlog::Error)
ruby-2.4.1@cloudvault/gems/kodama-0.1.1/lib/kodama/client.rb:117:in `wait_for_next_event'
ruby-2.4.1@cloudvault/gems/kodama-0.1.1/lib/kodama/client.rb:117:in `start'
ruby-2.4.1@cloudvault/gems/kodama-0.1.1/lib/kodama/client.rb:20:in `start'
./lib/mysql-listener.rb:3:in `<main>'
Bad handshakee

I am running MySQL version 5.6.25 on Mac OS Sierra

My host, user, password and port are all specified correctly, and my MySQL user has the database privileges (SUPER, REPLICATION SLAVE, EVENT) that ruby-binlog says are required. MySQL server is currently running on my Mac.

Is this library expected to work with MySQL 5.6? If yes, then what could cause the "Bad handshakee" error that I am encountering?

Thanks,
Denis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant