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

"Bad Handshakee" error when connecting #10

@denisahearn

Description

@denisahearn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions