Ruby on Rails MySQL #08S01Bad handshake - downgrade MySQL?

后端 未结 3 1428
误落风尘
误落风尘 2021-02-02 13:18

We recently upgraded from MySQL 5.1.41 to 5.1.61 on our Ubuntu 10.04LTS server. We have an ancient RoR web app that\'s now giving a bad handshake error:

Mysql::E         


        
3条回答
  •  野的像风
    2021-02-02 13:50

    I fixed it! Downgrading MySQL did the trick. We'll re-upgrade to 5.1.61 once the Django site goes live. Here's the command to downgrade MySQL:

    sudo aptitude install mysql-server-5.1=5.1.41-3ubuntu12 mysql-client-5.1=5.1.41-3ubuntu12 mysql-server-core-5.1=5.1.41-3ubuntu12

    I used apt-cache to get the exact version.

提交回复
热议问题