摘要: 先用root登录运行如下代码 create user 'usrname'@'%' IDENTIFIED by 'password'; flush privileges; grant select, insert, update [DELETE]on databasename.* to usrname 阅读全文
posted @ 2020-09-23 18:40 小尼 阅读(540) 评论(0) 推荐(0) 编辑
摘要: SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));flush privileges; 阅读全文
posted @ 2020-09-18 15:29 小尼 阅读(1240) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/geng31/article/details/78585557 阅读全文
posted @ 2020-09-18 10:10 小尼 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 如果一开始是用git命令( ssh-keygen -t rsa -C [邮箱] ),生成的公钥和密钥( 比如 id_rsa 和 id_rsa.pub ) 首先,把生成的公钥粘贴到 git远程仓库管理中心。接下来用ssh的方式连接远程仓库。 有两种操作方式: 1.用 git命令 可以直接用命令“git 阅读全文
posted @ 2020-09-18 09:05 小尼 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 实体类 public class SysDept { private static final long serialVersionUID = 1L; /** 部门ID */ private Long deptId; /** 父部门ID */ private Long parentId; /** 子 阅读全文
posted @ 2020-09-16 10:09 小尼 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 使用 Alt+J(或 ⌃ G)查找并选择源文件中所有匹配单词或文本块的多个匹配项,并同时更改或替换所有单词或文本块。 阅读全文
posted @ 2020-09-13 09:11 小尼 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-09-12 22:54 小尼 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 第一步加入如下log包 // https://mvnrepository.com/artifact/org.projectlombok/lombok compileOnly 'org.projectlombok:lombok:1.18.6' annotationProcessor 'org.proj 阅读全文
posted @ 2020-09-12 19:02 小尼 阅读(12642) 评论(0) 推荐(0) 编辑
摘要: 由于删除springboot内置log包导致需加入如下包解决 // https://mvnrepository.com/artifact/org.slf4j/slf4j-simple compile group: 'org.slf4j', name: 'slf4j-simple', version: 阅读全文
posted @ 2020-09-12 18:44 小尼 阅读(3522) 评论(0) 推荐(1) 编辑
摘要: 导致原因为,springboot内置log包冲突l 排除springboot中默认logback日志 configurations { compile.exclude module: 'spring-boot-starter-logging' compile.exclude module: 'com 阅读全文
posted @ 2020-09-12 18:42 小尼 阅读(216) 评论(0) 推荐(0) 编辑