Sentora Support Forums

Full Version: Update to MariaDB 10.1 with success!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i'm Trying and learning and i do

its a backup
1: mysqldump -u root -p --all-databases > db-backup.sql
2: use your mysql root password

now install
1: vim /etc/yum.repos.d/MariaDB10.repo
2: Put this and save the file:
Quote:# MariaDB 10.1 CentOS repository list - created 2016-11-24 17:24 UTC
http://downloads.mariadb.org/mariadb/repositories/
[Mariadb]
Name = MariaDB
Baseurl = http://yum.mariadb.org/10.1/centos7-amd64
Gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Gpgcheck = 1
can save using comand :wq on command line

3: service mariadb stop
4: yum install MariaDB-server MariaDB-client
5: service mariadb start
6: reboot

if you go with command
mysql -V
Quote:[root@painel ~]# mysql -V
mysql  Ver 15.1 Distrib 10.1.21-MariaDB, for Linux (x86_64) using readline 5.1
or you can see on your panel saying
MySQL Version: 10.1.21-MariaDB