3 ms·
You can literally just type 'apt-get install mariadb-server' into Ubuntu (once you've added the sources) and you won't even know MySQL is gone. You can even sti
by madsushi 13y ago
You can literally just type 'apt-get install mariadb-server' into Ubuntu (once you've added the sources) and you won't even know MySQL is gone. You can even still type 'mysql -p' to log in to MariaDB locally.
- icelancer 13y ago>'apt-get install mariadb-server' This simple command replaces mysql in one shot? I might test it tonight if so. Do I have to run mysql_upgrade? Got a good recommendation for a guide?
- madsushi 13y agoThe MariaDB page has great instructions for various distros: https://downloads.mariadb.org/mariadb/repositories/#mirror=osuosl https://downloads.mariadb.org/mariadb/repositories/#mirror=o... Just pick your distro and you're good to go. I didn't have to run anything else.
- wolf550e 13y agoCareful! At least for mariadb 5.5 setup on Ubuntu 12.04 LTS, you need to pin the mariadb versions of packages because Ubuntu breaks stuff with their updates. # cat /etc/apt/preferences Package: * Pin: origin repo.percona.com Pin-Priority: 1003 Package: * Pin: origin ftp.osuosl.org Pin-Priority: 1002 # tail /etc/apt/sources.list deb ftp://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main deb-src ftp://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu precise main