下载yum源的安装包 安装 启动服务 查看状态 查看初始密码 ...
分类:
数据库 时间:
2018-11-09 19:22:20
阅读次数:
456
1. 下载Mysql的Docker镜像: 2. 运行镜像,设置root账号初始密码(123456),映射本地宿主机端口3306到Docker端口3306。测试过程没有挂载本地数据盘: docker run -it --rm --name mysql -e MYSQL_ROOT_PASSWORD=12 ...
分类:
数据库 时间:
2018-11-07 20:09:52
阅读次数:
175
1出现此报错的原因是使用的mysql8.0 以前用的是:tx_isolation 现在用是: transaction_isolation a.通过升级 sqlalchemy 的方法可以解决此问题, pip install -i https://pypi.tuna.tsinghua.edu.cn/si ...
分类:
数据库 时间:
2018-11-06 17:44:49
阅读次数:
877
如果使用了mysql8.0以上的版本 异常信息: 你如果用的包是以前的包的话,会提示使用caching_sha2_password 或者是 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class ...
分类:
数据库 时间:
2018-11-06 15:12:45
阅读次数:
422
Navicat连接mysql8.0.1版本出现1251--Client does not support authentication protocol requested by server的解决 好不容易安装好mysql,但又出现了mysql客户端版本太低的问题。根据参考的这篇教程,完美的解决了 ...
分类:
数据库 时间:
2018-11-04 19:07:52
阅读次数:
279
alter user 'root'@'%' identified by 'xxxx'; alter user 'root'@'localhost' identified by 'xxxx';root@后面是user表的Host字段的内容,新安装默认是localhost,我这增加了远程访问,将loca ...
分类:
数据库 时间:
2018-11-04 12:48:11
阅读次数:
186
plugin caching_sha2_password could not be loaded 我在mac上用Sequel Pro连数据库的时候,会报出以上错误,这是应为8.0.11把身份认证插件改成了 caching_sha2_password ,而客户端没法使用此插件。 这是我们只要用命令行进 ...
分类:
数据库 时间:
2018-11-02 11:09:32
阅读次数:
162
yum or rpm? 环境说明 操作系统:Centos7.4 (CentOS 7 x86_64 Minimal 1804.iso) mysql:mysql8.0.13 卸载系统自带的mariadb lib 查看mariadb版本 mariadb libs 5.5.56 2.el7.x86_64 卸 ...
分类:
数据库 时间:
2018-10-28 19:18:48
阅读次数:
347
一、停止mysqld进程 二、修改/etc/my.cnf(在mysqld选项添加skip-grant-tables),设置免密码登录: 三、登录mysql并修改root密码为空: 四、退出mysql,去掉/etc/my.cnf上的skip-grant-tables,上述步骤二添加的配置 五、再次登录 ...
分类:
数据库 时间:
2018-10-27 00:12:20
阅读次数:
261
关于安装和使用就不说了,属于基本操作了; 我来重点记录一下关于使用前,使用navicat登录的时候报错,1130和2059 查看安装后随机生成的密码: grep 'temporary password' /var/log/mysqld.log 原因:mysql8的密码验证机制变更caching_sh ...
分类:
数据库 时间:
2018-10-26 20:31:52
阅读次数:
2084