Arch Linux has recently made MariaDB their default implementation of MySQL in their distribution and has recommend that all users upgrade to it. In April, Wikipedia announced that they had switched their English and German wikipedias to run on MariaDB. Fedora 19 has MariaDB as their default SQL database.
MariaDB is an open source fork of MySQL developed and worked on by the original MySQL developers, lead by Michael “Monty” Widenius. It was created and embraced by the open source community as an effective alternative to MySQL. Although MySQL is still an open source project, it is owned by Oracle, purveyors of their own enterprise software. Worries about the progress of MySQL as well as the status of MySQL as an open source project have prompted the migration to MariaDB. A bug snafu that removed the GPL license from MySQL’s man page caused additional consternation in the open source community as it seemed to restrict the replication of the man pages. Oracle quickly reported this issue as a bug and corrected the copyright notice. Nonetheless, this event was another reminder of how quickly corporate policies could affect the MySQL community.
When summarizing Wikipedia’s move to MariaDB, the announcer Asher Feldman, included a hint as to why he switched: “…as supporters of the free culture movement, the Wikimedia Foundation strongly prefers free software projects; that includes a preference for projects without bifurcated code bases between differently licensed free and enterprise editions.” Oracle’s different treatment of the enterprise and community versions is another factor that caused a stir. At this point, the future of MySQL, subject to decisions of Oracle, remains murky.
Moving to MariaDB is made to be simple. The database is a drop in replacement for Mysql, launching with the same commands.
In order to upgrade, the user can simply
No further steps are necessary. Once MySQL is off the server and MariaDB is in its place, you can manage your data just as you did before:
Databases, content, and information should carry over between the two programs even without a MySQL dump being performed. Starting up, and using MariaDB requires all of the same commands as MySQL—once Maria is installed, no further changes need to be made.
As MariaDB works to be as similar as possible (barring any improvements made to the code on MariaDB’s side) to MySQL, its version numbers used to correlate directly with MySQL’s. To this effect, MariaDB 5.5 had all of the features of MySQL 5.5, as well some of the original ones that improved upon MySQL’s functionality.
However, as MariaDB continues to build out its own features and divest from MySQL, MariaDB version names are taking on a new convention. With the differing schedules of MySQL and MariaDB feature releases, MariaDB’s latest version is 10.0.
Within the DigitalOcean collection of articles, we currently have a lot of pieces focused on MySQL. However, since the growth of MariaDB, we do recommend using MariaDB in the place of MySQL. The instructions within the articles should remain unchanged.
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.