Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running MariaDB & MySQL on the same server

I would like to test the MariaDB database server on my local computer whilst keeping my existing MySQL server running. This is in preparation for migrating my live websites from MySQL to MariaDB.

Is it possible to install MariaDB on the same system as MySQL? I haven't tried to do an apt-get install mariadb-server yet as everything I have read seems to suggest that the MySQL binaries would be replaced with the MariaDB binaries.

My system:

jonny@jrlp01 ~ $ uname -a
Linux jrlp01 3.9.6-030906-generic #201306131535 SMP Thu Jun 13 19:35:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

jonny@jrlp01 ~ $ lsb_release -a

No LSB modules are available.
Distributor ID: LinuxMint
Description:    Linux Mint 15 Olivia
Release:    15
Codename:   olivia

jonny@jrlp01 ~ $ mysql --version
mysql  Ver 14.14 Distrib 5.5.31, for debian-linux-gnu (x86_64) using readline 6.2
like image 629
J R Avatar asked Jun 23 '13 11:06

J R


1 Answers

Consider using Docker technology. It would help you to stand two DB separately. Moreover you can make the buckups (read about docker manager and nodes), and you can open ports just as you want to. At least read about it ;)

edit: P.S it is well using on servers, but on local machines it is a good idea to use VM.

If your local computer cant hadle that, consider using for example AWS DB

Wrote for future question lookers ;)

like image 126
xross Avatar answered Oct 02 '22 22:10

xross