Categories: CloudLinux

How to install MariaDB Server in cPanel/WHM servers?

How to install MariaDB Server in cPanel/WHM servers?

And

What are the advantages of using MariaDB Server ?

Ans:

 *  Install MariaDB Server in cPanel/WHM servers

1. Backup existing MySQL data

# mysqldump --all-databases --routines --triggers > /home/db_dump/alldb.sql
# service mysql stop
# cp -r /var/lib/mysql/mysql /home/db_dump/
# service mysql start

2. Select MySQL version as MariaDB

# /usr/share/lve/dbgovernor/db-select-mysql --mysql-version=mariadb100

MariaDB versions:

mariadb55 for MariaDB v5.5
mariadb100 for MariaDB v10.0
mariadb101 for MariaDB v10.1

3. Install MariaDB

# /usr/share/lve/dbgovernor/db-select-mysql --install-now

Final step is to recompile PHP and Apache in the server.

# /scripts/easyapache

 * Advantages of using MariaDB Server

1) Faster and safer replication.

2) Indexes for the MEMORY(HEAP) engine are faster.

3) CHECKSUM TABLE is faster.

4) MariaDB improved the performance of character set conversions.

5) Pool of Threads in MariaDB 5.1 and even better in MariaDB 5.5.

6) There are some improvements to the DBUG code to make its execution faster when debug is compiled in but not used.

7) Our use of the Aria storage engine enables faster complex queries.

8) The test suite has been extended and now runs much faster than before, even though it tests more things.


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

The Ultimate Guide to DIY Website Builders for Entrepreneurs

Ah, the joys of building a website! Picture this: You're sitting there in your pajamas, coffee in hand, ready to…

2 weeks ago

Don’t Ignore These 11 Signs You Need a Hosting Upgrade

Are you feeling like your website is running in slow motion? It can be frustrating when your online presence doesn't…

3 weeks ago

PrestaShop vs OpenCart: Which Is Right for Your Business?

Are you ready to take your online store to the next level? Whether you're running a PrestaShop or OpenCart platform,…

4 weeks ago

Sitemaps: A Guide to Enhancing Online Visibility

Picture this: your website is like a fabulous party happening in the darkest corner of the internet, but nobody's showing…

1 month ago

Step-by-Step Guide to Implementing a CDN for WordPress

Picture this: Your WordPress site is like that one friend who's always fashionably late to everything. You know, the one…

2 months ago