QA:Testcase Upgrading from MySQL to MariaDB in f18
Testing Yum repository for Fedora 18
We've prepared a testing Yum repository with RPMs for Fedora 18, which correspond with packages that are being prepared for Fedora 19.
The repository is located in http://hhorak.fedorapeople.org/mariadb-testday/mariadb-testday.repo and to use it, just copy it to
# wget -o /etc/yum.repos.d/mariadb-testday.repo http://hhorak.fedorapeople.org/mariadb-testday/mariadb-testday.repo
Proceeding the upgrade (replace MySQL packages by MariaDB packages)
--enablerepo=mariadb-testday we also use
--disablerepo=* in order to not update other packages during test. You can let this argument out if you want update all packages.
The replacement of already installed MySQL packages with MariaDB alternative will be proceeded as follows:
yum update --disablerepo=* --enablerepo=mariadb-testday
For installing MariaDB server package use:
yum install --disablerepo=* --enablerepo=mariadb-testday mariadb-server
Going back to backed-up data if something gets wrong
In case something gets wrong, you can get back to backed-up data.
Now you should have installed only MariaDB packages, while all MySQL packages should have been removed. You can check that using:
$ rpm -qa | grep -e '^mysql' -e '^mariadb'