Rails development - Can't connect to MySQL server on 'localhost' (10061)

前端 未结 7 754
轻奢々
轻奢々 2020-12-30 04:39

I\'m a Rails developer newbie using MySQL as the database. I can successfully connect to MySQL using the command:

MySQL -u macDaddy -p

at t

7条回答
  •  情歌与酒
    2020-12-30 04:55

    I had a similar error but it was because the port: 3306 was missing in the database.yml. Once I added port: 3306 issue was resolved.

提交回复
热议问题