Wednesday, December 24, 2014

centos 7 mariadb to mysql server in vritualmin webmin

 cd /etc/yum.repos.d/
 mv MariaDB.repo MariaDB-old

systemctl stop mariadb.service
  rpm -ivh mysql-community-release-el7-5.noarch.rpm
  yum remove  mariadb-server mariadb
  yum install mysql-server
  service mysql start
  mysql -u root -p

   systemctl disable mariadb
   systemctl enable mysqld

 chmod +x
  remove mariadb mariadb-server

vi /etc/my.cnf
Hash or Off this line
# Recommended in standard MySQL setup

goto https://ipaddress:10000

Click -- webmin ---> Servers----> MySQL Database Server--> Module Config--> Configurable Options to System Configuration-->
Command to start MySQL server---/bin/systemctl start  mysqld.service -->
Command to stop MySQL server--/bin/systemctl stop  mysqld.service-->  Save

No comments:

Post a Comment