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://mirror2.hs-esslingen.de/mariadb/repo/5.2/ubuntu natty main
deb-src http://mirror2.hs-esslingen.de/mariadb/repo/5.2/ubuntu natty 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.cnf
of MySQL without any problem or replace by the new one.Step 4 : (Optional)
To tune the performance of MariaDB. Please see this link for reference. The settings are the same.
That's all! See you.
No comments:
Post a Comment