mysql 安装指定版本 完整 删除 映射安装内存中 系统优化

12 篇文章 0 订阅
mysql 安装指定版本  完整 删除   映射安装内存中 系统优化


Mysql 服务器centos 系统下 优化


http://www.centoscn.com/mysql/2015/0429/5312.html


官方配置repos  yum 安装配置
http://dev.mysql.com/doc/mysql-yum-repo-quick-guide/en/


vim  /etc/yum.repos.d/mysql-community.repo


Find the entry for the subrepository you want to configure, and edit the enabled option. Specify enabled=0 to disable a subrepository, or enabled=1 to enable a subrepository. For example, to install MySQL 5.6, make sure you have enabled=0 for the above subrepository entry for MySQL 5.7, and have enabled=1 for the entry for the 5.6 series:


# Enable to use MySQL 5.6
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
You should only enable subrepository for one release series at any time. When subrepositories for more than one release series are enabled, the latest series will be used by Yum.


Verify that the correct subrepositories have been enabled and disabled by running the following command and checking its output (for dnf-enabled systems, replace yum in the command with dnf):


shell> yum repolist enabled | grep mysql
 
CentOS:yum安装MySQL5.6并更改其默认路径


http://blog.csdn.net/w_chao2012/article/details/48090089




CENTOS 修改MYSQL文件到内存盘
http://blog.csdn.net/leinchu/article/details/25776019


如果安装内存中 最好配置是丛服务器 这样主从备份 读写分离 通过内存盘 提升效率


完整删除 mysql 
yum remove mysql* ,mysql-server*,mysql-shared* mysql-test*





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值