However, for those who have been using MySQL for a long time and are familiar with the MySQL ecosystem, changing MySQL is not so urgent. After all, it is not until the end of the day.
However, it is time to come. Before Gentoo portage, the MySQL 5.5 upgrade option was available. As soon as I upgraded it, MySQL 5.5 won't be able to change. The reason is unknown and I am too lazy to check it, so I set up mask to use the old version temporarily.
It's time to come. The recent Portage seems to be forced to use 5.5. Getoo MySQL 5.5 provides MySQL and MariaDB options.
Currently, MariaDB is a better choice than MySQL [2]. At least you should not be afraid to cut down the Product from Oracle. After all, the main Oracle database is not MySQL.
I checked that the Gentoo Forum [3] does not seem to have any information about the upgrade to MariaDB, so I am prepared to upgrade it with confidence. (Gentoo is often used to know that sometimes it is not so smooth)
But it's really easy to upgrade it. The following are the steps:
(1) Stop MySQL
- $ /etc/init.d/mysql stop
(2) Remove the line about virtual/mysql-5.5 from/etc/portage/package. mask
(3) install MariaDB
- $ emerge -aV MariaDB
(4) upgrade configure file.
- $ etc-update
(5) upgrade MySQL database
- $ mysql_upgrade –password=
(6) Updating the MySQL Library of the system is the most difficult, but you have to solve it yourself when using Gentoo.
$ Revdep-rebuild
It seems to be normal at the moment. I hope there will be no major problems.
[1] Oracle Makes More Moves To Kill Open Source MySQL
[2] MariaDB versus MySQL-Features
[3] MySQL-> MariaDB howto?
Edit recommendations]
- MariaDB 5.3 will support the alter table progress prompt
- The founder of MySQL builds MariaDB fully compatible with MySQL 5.1.
- MariaDB 2 anniversary
- How to optimize your MongoDB in five steps
- Development History of NoSQL in Enterprises