摘要: MySQL联查 联表查询 联查结果删除 1. t1,t2有关联 t2为where条件 删除t1 DELETE t1 FROM dictionary_detail t1 LEFT JOIN dictionary t2 ON t1.dictionary_id = t2.id WHERE t2.id IS 阅读全文
posted @ 2023-03-24 10:56 晚冬十五 阅读(19) 评论(0) 推荐(0)
摘要: 1.登录 1 //登录 2 mysql -uroot -p 3 //切换数据库 4 use mysql; 5 // 查看用户列表及权限 host为本地访问 6 select user,host,plugin from user; 7 //给 root开启远程访问权限 8 GRANT ALL ON * 阅读全文
posted @ 2023-03-21 17:08 晚冬十五 阅读(540) 评论(0) 推荐(0)
摘要: Pom文件新增 <!-- nacos依赖 --> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> </dep 阅读全文
posted @ 2022-01-13 16:24 晚冬十五 阅读(797) 评论(0) 推荐(0)