![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
mysql
mysql
丶kino丶
学习笔记已转移到GitHub: https://github.com/KinoMin/bigdata-learning-notes
展开
-
useradd: cannot open /etc/shadow
问题描述:useradd -g mysql mysqluseradd: cannot open /etc/shadow解决问题:chattr -i /etc/gshadowchattr -i /etc/groupchattr -ai /etc/shadowchattr -ai /etc/passwd原创 2020-05-27 13:14:17 · 2309 阅读 · 0 评论 -
centos7安装mysql问题
异常信息:warning: user mysql does not exist - using root解决办法:yum install -y perl-Module-Install.noarch原创 2020-05-27 12:56:20 · 254 阅读 · 0 评论 -
windows 下彻底删除免安装版mysql
1、本方法是基于免安装版的mysql5.6.4 2、方法: 1)、删除mysql文件夹 2)、开始-运行里面输入regedt,打开注册表.注册表里MySQL的项就是这三项: HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/Eventlog/Application/MySQL HKEY_LOCAL_MACHINE/SYSTEM/Control原创 2019-12-04 18:29:11 · 486 阅读 · 0 评论 -
mysql 5.7.20下载、安装和配置方法及简单操作技巧(window绿色版)
下载: https://dev.mysql.com/downloads/mysql/ 直接下载,无需注册和登录。安装: 将下载的mysql压缩包解压后的整个目录放在指定目录 配置: 新建一个ini文件,并命名为my.ini,放置到mysql安装目录中。文件内容是:[mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [my原创 2020-03-18 14:34:59 · 1087 阅读 · 1 评论 -
Linux下卸载 MySQL
文章目录一、 查看安装的 mysql二、卸载一、 查看安装的 mysql[root@hadoop102 桌面]# rpm -qa|grep mysqlmysql-libs-5.1.73-7.el6.x86_64二、卸载[root@hadoop102 桌面]# rpm -e --nodeps mysql-libs-5.1.73-7.el6.x86_64...原创 2019-12-04 17:57:17 · 219 阅读 · 0 评论 -
CentOS7 离线安装 MySql5.7
文章目录一、下载地址二、 解压安装一、下载地址https://download.csdn.net/my二、 解压安装将安装包剪切到 /opt/software/ 目录下mv mysql-libs.zip /opt/software/ 解压mysql-libs.zip文件到 当前目录下[root@hadoop102 software]# unzip mysql-libs....原创 2019-12-04 17:57:30 · 211 阅读 · 0 评论 -
mysql 开启 binlog详细操作教程
文章目录说明步骤一: 赋权限步骤二:开启binlog步骤三: 重启 mysql 使 binlog 生效步骤四:检查binlog 是否生效说明mysql 开启 binlog 的前提:mysql 的版本需要是 5.62及以上,如果不是的话,请升级版本如果不升级就开启 binlog,会报一下错误原因:binlog_checksum 是 MySQL 5.6.2 才引入的,5.6.2 一下根本...原创 2019-12-04 17:46:50 · 931 阅读 · 0 评论