mysql -u root -p".
Step 1 :
Prepare for installation of MariaDB
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1BB943DB
Step 2 :
sudo nano /etc/apt/sources.list.d/mariadb.list
Append the following lines.
deb http://mirrors.xmission.com/mariadb/repo/5.2/ubuntu maverick main
deb-src http://mirrors.xmission.com/mariadb/repo/5.2/ubuntu maverick main
Save the change and install the following.
Step 3 :
sudo apt-get update
sudo apt-get install mariadb-server mariadb-client
** You can also replace your MySQL to MariaDB in this way. The MySQL will be uninstall automatically. You can also use the
my.cnfof MySQL without any problem or replace by the new one.
Step 4 : (Optional)
To tune the performance of MariaDB is the same as tuning MySQL. Please see this link for reference. The settings are the same.
That's all! See you.