简体   繁体   English

带有Ruby On Rails 3.2.8的MySQL的哪个版本?

[英]What version of MySQL with Ruby On Rails 3.2.8?

I am reading through 'Pragmatic Agile Web Dev w/ Rails 4th edition for Version 3.2' and am preparing my production environment to use Mysql. 我正在阅读“带有3.2版Rails第四版的实用敏捷Web开发”,并且正在准备使用Mysql的生产环境。 I got to the point in the book where it says: 我在书中指出:

"There are plenty of alternatives to SQLite, both free and commercial. We will go with MySQL. It is available via your native packaging tool in Linux, and an installer is provided for OS X on the MySQL website.2 We recommend that you download MySQL 5.1, as MySQL 5.5 is known not to work with Rails 3.1." “ SQLite有许多免费和商业的替代品。我们将使用MySQL。它可以通过Linux的本地打包工具获得,并且在MySQL网站上提供了OS X的安装程序。2我们建议您下载MySQL 5.1和MySQL 5.5不能与Rails 3.1一起使用。”

Does anybody have experience with MySQL 5.5 and Rails 3.2.8? 是否有人对MySQL 5.5和Rails 3.2.8有经验? I am wondering what problems the book is referring to and if they have been resolved in the current stable version 3.2.8. 我想知道这本书指的是什么问题,以及是否在当前的稳定版本3.2.8中已解决这些问题。 Any suggestions on what version to use? 关于要使用哪个版本的任何建议?

Thanks in advance for your help! 在此先感谢您的帮助!

No idea what the book is referring to. 不知道这本书在指什么。 I have several production websites using MySQL 5.5 and Rails 3.2, no problem. 我有几个使用MySQL 5.5和Rails 3.2的生产网站,没问题。 Just use the gem mysql2 . 只需使用gem mysql2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM