The remarkable performance improvement for managing dedicated servers in Linux with the new MariaDB update 10.3 has made us update our database systems MySQL on our Centos 7.6 server.
What we get with the latest version:
- Much more robust security reviews in our databases.
- New functions in our database engine.
- Larger storage systems.
- Optimization in the grouping of databases.
- High speed performance for our web pages.
- Greater compatibility
- MariaDB is the most widely used hosting system currently.
- Versatility and efficiency in data processing.
Having said that, mention that it is worth updating our systems for two reasons, an improvement in security and a performance increase. If you have online stores, we advise you to update your databases.
Steps to follow to update our database to MariaDB 10.3
- nano /etc/yum.repos.d/MariaDB10.repo We access our Centos server using SSH.
- The first thing we must do, make a backup of our database.
cp -a / var / lib / mysql / /var/lib/mysql.bak
Remember to have a copy of the databases of your web pages.
- We create the MariaDB repo:
Once inside we create the repo, in our case:
# MariaDB 10.1 CentOS repository list - created 2016-01-18 09:58 UTC
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey = https: //yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck = 1
Save and close the editor.
You can check the latest repos here: https://downloads.mariadb.org/mariadb/repositories/#mirror=nxtHost
Note: if you do not have the nano function installed on your Centos server, you can install it with the following command:
yum install nano
- We deleted the previous version that we had, in this case MariaDB 5.5.
yum remove mariadb-server mariadb mariadb-libs
- We remove the cache.
yum clean all
- We install the new version MariaDB 10.3.
yum -y install MariaDB-server MariaDB-client
- And we already have a new version installed! We perform the activation:
systemctl start mariadb
- Set it to start automatically:
systemctl enable mariadb
- Finally, import the data from the old database to the new one:
Ready!. We already have our new version of MariaDB 10.3, we can verify it with the following parameter:
If you need help with Linux hosting experts, consult with us.