1. 安装好mysql8.0 之后 , 用临时密码登进去 发现改密码不行 , 修改密码策略也不行 , 你需要 ,这样改密码 ALTER USER 'root'@'localhost' IDENTIFIED BY 'root_123R'; 然后再运行以下指令 set global validate_p ...
分类:
数据库 时间:
2020-05-11 00:48:51
阅读次数:
103
1.先定义一个注解 import java.lang.annotation.*; /** * @desc 定义一个不重复提交的注解 */ @Target({ElementType.PARAMETER, ElementType.METHOD}) @Retention(RetentionPolicy.R ...
分类:
编程语言 时间:
2020-05-09 18:51:22
阅读次数:
74
oc project default oc create serviceaccount getapi c adm policy add-cluster-role-to-user cluster-admin -z getapi oc serviceaccounts get-token getapi ...
分类:
其他好文 时间:
2020-05-08 23:12:05
阅读次数:
119
读者指南 目的:为了更好地理解Maven插件 参考文档:菜鸟教程 https://www.runoob.com/maven/maven-tutorial.html Maven是什么? apache项目,纯java开发,基于POM(Project object model),管理项目的构建、报告、文档 ...
分类:
其他好文 时间:
2020-05-07 21:23:15
阅读次数:
79
---apiVersion:policy/v1beta1kind:PodSecurityPolicymetadata:name:psp.flannel.unprivilegedannotations:seccomp.security.alpha.kubernetes.io/allowedProfileNames:docker/defaultseccomp.security.alpha.kubern
分类:
其他好文 时间:
2020-05-07 09:30:38
阅读次数:
67
跨域 广义上讲,跨域是指一个域下的文档或者脚本试图去请求访问另一个域下的资源(像我们直接通过代码使用http请求资源,或者是使用辅助工具(例如postman)是可以直接访问的,没有跨域的概念);而我们一般说的跨域是指浏览器同源策略限制。 同源策略/SOP(Same origin policy)是一种 ...
分类:
Web程序 时间:
2020-05-05 00:25:59
阅读次数:
97
一、问题起源 我们定义了一个注解如下: 1 /** 2 * AOP的切面嵌套测试-注解 3 * 4 * @author suxiaolong 5 */ 6 @Target({ElementType.PARAMETER, ElementType.METHOD}) 7 @Retention(Retent ...
分类:
其他好文 时间:
2020-05-02 17:21:48
阅读次数:
113
为了加强安全性,MySQL5.7为root用户随机生成了一个密码,在error log中,关于error log的位置,如果安装的是RPM包,则默认是/var/log/mysqld.log。 一般可通过log_error设置 mysql> select @@log_error;+ +| @@log_ ...
分类:
其他好文 时间:
2020-05-02 09:15:38
阅读次数:
64
在上一篇文章中,介绍了cpufreq的core层,core提供了cpufreq系统的初始化,公共数据结构的建立以及对cpufreq中其它子部件提供注册功能。core的最核心功能是对policy的管理,一个policy通过cpufreq_policy结构中的governor字段,和某个governor ...
分类:
系统相关 时间:
2020-05-01 19:00:49
阅读次数:
77
/ Type is the common superinterface for all types in the Java programming language. These include raw types, parameterized types, array types, type va ...
分类:
其他好文 时间:
2020-05-01 01:26:50
阅读次数:
73