SHARE
TWEET

Mysql

ADrobkov Apr 23rd, 2019 (edited) 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. service mariadb stop
  2. nano /etc/yum.repos.d/MariaDB.repo
  3.  
  4. [mariadb]
  5. name = MariaDB
  6. baseurl = http://yum.mariadb.org/10.2/centos7-amd64
  7. gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
  8. gpgcheck=1
  9.  
  10. yum install MariaDB-client MariaDB-server -y
  11.  
  12. mkdir /var/run/mariadb /var/run/mysqld/
  13. chown mysql:mysql /var/run/mariadb /var/run/mysqld/
  14.  
  15. service mariadb start
  16. mysql_upgrade
  17. service mariadb restart
  18. rm -f /etc/init.d/mysql
  19. systemctl daemon-reload
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top