Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is MariaDB usable in production with Ruby on Rails?

http://en.wikipedia.org/wiki/MariaDB

MariaDB is a community-developed branch of the MySQL database, the impetus being the community maintenance of its free status under the GNU GPL, as opposed to any uncertainty of MySQL license status under its current ownership by Oracle. The contributors are required to share their copyright with Monty Program AB.

The page goes on to say that MariaDB 5.5 is binary-compatible with the MySQL of the same version and adds a couple of database engines of its own to choose from.

I also read that Fedora 19 is going to remove MySQL packages in favor of MariaDB.

So the question is, is Ruby on Rails 3+ MariaDB compatible? Are there any future plans to integrate MariaDB features as they start to deviate from MySQL?

like image 385
nurettin Avatar asked Jan 22 '13 14:01

nurettin


1 Answers

Red Hat, Debian, Fedora, OpenSuse, Slackware, and even Wikipedia moved (or are moving) to MariaDB. This means it is stable. Also, MariaDB (and Percona Server) seems to fix security issues much faster than Oracle.

Since MariaDB is compatible with MySQL, all APIs are compatible, including Ruby on Rails API. (Well, MariaDB 10.0 is not totally compatible with MySQL 5.6, but the incompatibilities are not at API-level!)

like image 163
Federico Razzoli Avatar answered Oct 20 '22 15:10

Federico Razzoli