Looking to have a local testing server using Ubuntu.

I would like to have both MySQL and MariaDB on this server, at the same time (Different ports, obviously).

Is it possible to install both using Apt? I notice if I install one it wants to remove the other.


  • Consider using docker. Makes it easier and easier to backup. And no mariadb and mysql will cancel eachother out. Official document on installing mariadb from source: mariadb.com/kb/en/library/installing-mariadb-alongside-mysql They used centos but the same will work on Ubuntu. – Rinzwind Dec 6 '19 at 21:15
  • As in a docker for MySQL and one for MariaDB? – JonYork Dec 6 '19 at 21:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.