67

centos-7yum安装(mairadb)实现mysql多实例-13456315

 6 years ago
source link: http://blog.51cto.com/13466315/2091270
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
步骤:1、安装mariadb-server包yummariadb-server2、建一个主文件夹三个副文件夹,三个副文件夹用来分别存放三个实力注意:尽量把这个多实例放在逻辑卷中比较好一点a、mkdir/mysqldb/{3306,3307,3308}/{etc,data,pid,socket,log}b、修改目录权限chown-Rmysql:mysql/mysqldb/3、生成数据库mysql_i

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK