tmtm / ruby-mysql

MySQL connector for Ruby. pure Ruby version.
MIT License
143 stars 34 forks source link

$con = Mysql.connect('hostname', 'username', 'password', 'dbname') #31

Closed lujeii closed 2 years ago

lujeii commented 2 years ago

protocol.rb:655:in `parse': invalid packet: scramble_length(0) != length of scramble(21) (Mysql::ProtocolError)

ruby-mysql 2.11.0

tmtm commented 2 years ago

What version of mysqld are you using?

lujeii commented 2 years ago

What version of mysqld are you using? ruby-mysql 2.11.0 mysql 5.1.73

lujeii commented 2 years ago

What version of mysqld are you using?

My MySQL database has been upgraded to MySQL 5.7.25. Now ruby-mysql 2.11.0 can work correctly. thank you very much