
mysql
nis_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在centos7.4彻底删除mysql5.7 安装5.6
1.查看版本 停库[root@5haocentos ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) systemctl stop mysqld.service2.卸载+删除cd /var/lib/ rm -rf mysql cd /usr/share/ rm -rf mysql/ rpm -qa |grep...原创 2018-06-06 18:57:35 · 2161 阅读 · 0 评论 -
mysql-5.7.22 主从同步
1.安装MySQL1.1 更换源指定安装版本wgethttp://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpmyumlocalinstall mysql57-community-release-el7-8.noarch.rpmyum repolist enabled | grep"mysql.*-community.*" ...原创 2018-05-25 14:44:19 · 876 阅读 · 0 评论 -
mysql随笔
1.只删除表数据,不删除表结构truncate table table_name;原创 2018-06-15 17:59:12 · 176 阅读 · 0 评论 -
mysql5.6编译安装
1.添加用户[root@web01 tools]# useradd -s /sbin/nologin -M mysql [root@lb01 ~]# id mysql uid=27(mysql) gid=27(mysql) groups=27(mysql)2.安装相关依赖yum install ncurses-devel libaio-devel -y rpm -qa ncurses-devel...原创 2018-06-26 10:20:59 · 354 阅读 · 0 评论