使用docker安装mysql8.0,远程登录后提示 caching_sha2_password 。 解决办法如下: 1、进入docker中的mysql:docker exec -it mysql容器id /bin/bash 2、登录: mysql -uroot -p你的密码 3、进入之后: 切换数 ...
分类:
数据库 时间:
2021-05-24 10:14:24
阅读次数:
0
SELECT a.address,a.cont AS countAddress,b.sum AS sumAddress,CONCAT( ROUND( a.cont / b.sum * 100, 2 ), '', '%' ) AS percent FROM( SELECT address, COUNT ...
分类:
数据库 时间:
2021-05-24 10:05:17
阅读次数:
0
对应的SQL语句 alter user "DSG" limit session_per_user 10, connect_idle_time 2, failed_login_attemps 4, password_life_time 5, password_reuse_time 6, passwor ...
分类:
数据库 时间:
2021-05-24 10:03:24
阅读次数:
0
日常维护脚本SQL语句 查看配置 -- 查看数据常用参数配置值,数据库常用参数便于了解当前实例数据库文件存放位置,备份集存放位置,数据库缓冲内存大小、使用端口、最大会话连接数等。 SELECT PARA_NAME,PARA_VALUE FROM V$DM_INI WHERE PARA_NAME IN ...
分类:
数据库 时间:
2021-05-24 10:02:17
阅读次数:
0
create table #Data(name varchar(100),row varchar(100),reserved varchar(100),data varchar(100),index_size varchar(100),unused varchar(100)) declare @na ...
分类:
数据库 时间:
2021-05-24 09:55:32
阅读次数:
0
为了能够在面试回答中优雅而不失体面回答面试考点,该文章借鉴了不同平台对知识点的描述。 回答 HashMap 是一种存取高效但不保证有序的常用容器。它的数据结构为“数组+链表”,是解决哈希冲突的产物,也就是我们常说的链地址法。它实现了Map 接口采用K-V 键值对存储数据,并实现了浅拷贝和序列化。 H ...
分类:
编程语言 时间:
2021-05-24 09:44:25
阅读次数:
0
we're going to dive deep into a more complex example in which we combine mapped types, key remapping, template literal types, and indexed access types ...
分类:
移动开发 时间:
2021-05-24 09:32:51
阅读次数:
0
from docx import Document from docx.shared import Inches document = Document() document.add_heading('Document Title', 0) p = document.add_paragraph('A ...
分类:
编程语言 时间:
2021-05-24 09:32:17
阅读次数:
0
select concat('drop table ',table_name,';') from information_schema.tables where table_schema='employees' and table_name rlike '^d.*$' into outfile 'd ...
分类:
数据库 时间:
2021-05-24 08:59:21
阅读次数:
0
一、关于TableException的问题 [ERROR] Could not execute SQL statement. Reason:org.apache.flink.table.api.TableException: Sink `catalog_1`.`mydb`.`region_sales ...
分类:
其他好文 时间:
2021-05-24 08:49:39
阅读次数:
0