Install MariaDB on Ubuntu

Posted June 29, 2013 9.4k views
After installing MariaDB when I try to activate MariaDB, I get the error Can't lock aria control file. Installation of system table failed. Has anyone successfully used MariaDB on droplets? The pastebin of error at

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
4 answers
Is mysql/mariadb already running? You'll have to kill the process before you can run that command.
service mysql status shows that * MariaDB is stopped.

* /usr/bin/mysqladmin Ver 9.0 Distrib 5.5.31-MariaDB, for debian-linux-gnu on i686
Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.

Server version 5.5.31-MariaDB-1~precise-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 25 min 26 sec

Threads: 1 Questions: 79 Slow queries: 0 Opens: 54 Flush tables: 2 Open tables: 39 Queries per second avg: 0.051

Finally, decided to uninstall MariaDB and install MySQL. It appears lot more information is available to migrate from MySQL to MariaDB but not enough to start using MariaDB from scratch. Once I have MySQL installed, configured and running, I may consider to do drop in upgrade to MariaDB.
I am using MariaDB right now. Followed almost to the letter, except my droplet didn't require libmysqlclient18.