12 2021 档案
摘要:解决思路:首先根据报错定位到关键的一句话 list<charginPileVO>...... 然后断点,并且将这句话 add to watch 会出现真正的异常:java.lang.NullPointerException: cannot unbox null value是因为拆箱的时候对象为空,所
阅读全文
摘要:问题一:Ubuntu下启动Nacos报错 问题描述 使用命令sh startup.sh -m standalone启动报错 ./startup.sh: 78: ./startup.sh: [[: not found ./startup.sh: 88: ./startup.sh: [[: not fo
阅读全文
摘要:MySQL的查询中,如果使用(not in进行子查询)或者(is not null)后,会让查询速度变得很慢,笔者十分不建议使用。下面有笔者总结的代替方法。 代替 (not in 进行 子查询 ):将子查询 转变为 表连接,相关的逻辑写在 表连接 的关系上 代替 (is not null):将 is
阅读全文
摘要:常记录:在新建项目的时候出现了这个问题: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Access denied for user: 'sariel@%' to database 'datatest' 主要有几点原因 第一:用户是否能够远
阅读全文
摘要:1、排取镜像 我的实际用法是:docker pull mysql:5.7.18 docker pull docker.io/mysql:5.7.18 2、创建主宿机映射目录 mkdir -p /usr/soft/mysql #配置文件映射 mkdir -p /usr/soft/mysql/data
阅读全文