Should MariaDB touch my.cnf in %post?

Honza Horak hhorak at redhat.com
Fri Feb 15 08:54:36 UTC 2013


On 02/14/2013 01:07 PM, Chris wrote:
> 2013/2/14 Kevin Kofler<kevin.kofler at chello.at>:
>> >Jóhann B. Guðmundsson wrote:
>>> >>Surely you are not honestly consider replacing mysql installation with
>>> >>mariadb on upgrades?
>> >
>> >Have you missed the discussion? MariaDB is a drop-in replacement for MySQL,
>> >it will REPLACE MySQL in Fedora repositories, and we like to keep existing
>> >setups WORKING (e.g. we don't want to break Akonadi, which relies on an
>> >autospawned mysql-server, or Amarok, which relies on mysql-embedded) and
>> >supplied with security updates (which would not be the case for an
>> >unmaintained MySQL RPM from an older Fedora release that just sits on your
>> >disk), so of course, MariaDB WILL replace MySQL on upgrades.

.. unless you do a little change in your yum configuration:
+exclude=mariadb*

Then the replacement won't happen.

> In other words: It is not possible to install mysql on ferdora 19???
> Fedora and freedom??? Freedom is to have the choice between mysql and
> mariadb!

See the steps on the feature page:
https://fedoraproject.org/wiki/Features/ReplaceMySQLwithMariaDB#Steps_to_replace_MariaDB_with_the_original_MySQL_in_Fedora_19_.28rawhide.29

Honza


More information about the devel mailing list