1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:
数据库 时间:
2021-04-27 14:42:37
阅读次数:
0
问题展示: 日志: 2021-04-26T09:43:56.648483019Z 2021-04-26T09:43:56.648Z FTL/device:plugins:screen:stream 415 [33008167d0032569] Frame producer had an error ...
分类:
移动开发 时间:
2021-04-27 14:38:58
阅读次数:
0
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:
移动开发 时间:
2021-04-27 14:38:30
阅读次数:
0
ON DUPLICATE KEY UPDATE作用 先声明一点,ON DUPLICATE KEY UPDATE为Mysql特有语法,这是个坑语句的作用,当insert已经存在的记录时,执行Update 用法 什么意思?举个例子:user_admin_t表中有一条数据如下 表中的主键为id,现要插入一 ...
分类:
其他好文 时间:
2021-04-27 14:30:19
阅读次数:
0
1 Could not execute Write_rows event on table cs3.test01; Duplicate entry ‘7‘ for key ‘test01.PRIMARY‘ 1.1 主库操作 SHOW BINARY LOGS; PURGE BINARY LOGS TO ...
分类:
数据库 时间:
2021-04-27 14:28:23
阅读次数:
0
mysql由5.0升级至8.0 1:jar包的变换 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.1</version> </dependency> 2 ...
分类:
数据库 时间:
2021-04-27 14:19:35
阅读次数:
0
SQL:structure query language select:查询,从表中查询符合条件的数据 select 列 顺序,格式 from 表 where 条件 group by 列 having order by 列 查询表中所有的列,用* select * from emp 查询表中具体的列 ...
分类:
数据库 时间:
2021-04-27 14:15:06
阅读次数:
0
解释器 python / python3 使用Python2.x解释器 S Python xxx.py 使用Python3.x解释器 S Python3 xxx.py 交互式运行 Python 程序 交互式:问答方式,输入一个语句,里面有结果返回 MySQL提供交互式命令行 进入交互式命令:Pyth ...
分类:
编程语言 时间:
2021-04-27 14:11:57
阅读次数:
0
介绍 SqlSugar是一款 老牌 .NET 开源ORM框架,由果糖大数据科技团队维护和更新 ,Github star数仅次于EF 和 Dapper 优点: 简单易用、功能齐全、高性能、轻量级、服务齐全、有专业技术支持一天18小时服务 支持数据库:MySql、SqlServer、Sqlite、Ora ...
分类:
数据库 时间:
2021-04-27 14:08:52
阅读次数:
0
先说结论:遍历对象用for in 遍历数组用for of 不要用for in 遍历数组会出问题,实际中已经遇到了 function getAreaQueryGrid(res) { let features = new ol.format.GeoJSON().readFeatures(res); fo ...
分类:
Web程序 时间:
2021-04-26 13:46:30
阅读次数:
0