From Fedora Project Wiki

No edit summary
 
Line 1: Line 1:
MariaDB packages provide corresponding symbols with name ''mysql''. It means that as soon as any package requires mysql, yum will actually choose mariadb package to be installed.
MariaDB packages provide corresponding symbols with name ''mysql''. It means that as soon as any package requires mysql, yum will actually choose mariadb package to be installed. This test should verify that package dependencies are chosen right in the yum.


== Prerequisites ==
== Prerequisites ==

Latest revision as of 08:30, 30 April 2013

MariaDB packages provide corresponding symbols with name mysql. It means that as soon as any package requires mysql, yum will actually choose mariadb package to be installed. This test should verify that package dependencies are chosen right in the yum.

Prerequisites

Note.png
Info about using ISO image prepared for MariaDB Test Day
If you are using ISO image prepared for MariaDB Test Day, you have already pre-installed all packages you need. However, this test case is testing what packages get actually installed on a system with no MariaDB packages installed yet. So, if you want to continue, you will need to un-install these packages before.

Remove all mariadb packages (it will remove also all dependencies, so consider doing this step carefully):

# yum remove 'mariadb*'

Steps

This task consists from several sub-tasks. After every sub-task you'll need to remove installed packages (like described in Prerequisites section above).

Try install mysql-server package:

# yum install mysql-server

Expected result: packages mariadb-server mariadb-libs and mariadb will be installed.

Try install perl-DBD-MySQL package:

# yum install perl-DBD-MySQL

Expected result: packages perl-DBD-MySQL and mariadb-libs will be installed.

Warning.png
Updating perl-DBD-MySQL from testing repository
When you are using current Fedora 19 stable repository, you should install perl-DBD-MySQL package from the testing repository (available here), because the previous build (currently in Fedora 19 stable repository) included wrong dependencies. It has been fixed, but the new build has not got to stable repository yet.

Try install akonadi-mysql package:

# yum install akonadi-mysql

Expected result: packages akonadi-mysql, mariadb-server, mariadb and mariadb-libs will be installed.