![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
xiaokurong
这个作者很懒,什么都没留下…
展开
-
Mysql 和 Mariadb 开启或关闭远程命令
Mysql 和 Mariadb 开启或关闭远程命令1、开启远程连接命令: GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY '123456' WITH GRANT OPTION; # root 为开启远程连接的帐号 # “%” 为开启远程连接的地址,此处写“%”代表多有地址,如果要限制特定原创 2016-12-13 11:07:01 · 1716 阅读 · 0 评论 -
MariaDB忘记root密码
在MariaDB配置文件/etc/my.cnf [mysqld]中加入skip-grant-tables一行:[Richard@localhost ~]$ sudo vi /etc/my.cnf[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockskip-grant-tables #加入这一行# Dis转载 2016-12-13 11:21:43 · 1379 阅读 · 0 评论 -
Mysql 主从同步
Mysql 主从同步实验服务器相关信息:主服务器:IP 172.20.20.52 Mysql 版本:Server version: 5.6.33 MySQL Community Server (GPL)从服务器:IP 172.20.20.53 Mysql 版本:Server version: 5.6.33 MySQL Community原创 2017-09-08 11:16:35 · 282 阅读 · 0 评论 -
mysql 5.6 修改 open_files_limit
环境: Centos 7.2程序: Mysql 5.6操作:修改mysql的open_files_limit 配置 最近给新部署的mysql配置参数,需要修改open_files_limit配置,按照以往的经历,直接修改/etc/security/limits.conf 配置,在文件末尾添加如下内容: root soft nofile 65535 ...原创 2018-11-14 12:04:45 · 3505 阅读 · 1 评论