随笔分类 - mysql
摘要:pararent的pow.xml <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sou
阅读全文
摘要:hikaripool-1 - starting... hikaripool-1 - start completed. 后不执行Application中main的方法,当然也不执行 InitializingBean的afterPropertiesSet , 原因 在@SpringBootApplica
阅读全文
摘要:1、双亲委派机制 1.1 定义 当一个类加载器收到了类加载的请求的时候,他不会直接去加载指定的类,而是把这个请求委托给自己的父加载器去加载。 如果父类为空,交给bootstrap classloader 加载。 如果类还是无法被加载到,则触发findclass,抛出classNotFoundExce
阅读全文
摘要:Mysql配置读写数据库 ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation 原因之前mysql的vi /etc/my.cnf 修改配置没有重启
阅读全文
摘要:https://blog.csdn.net/qq_41829904/article/details/92966943https://www.cnblogs.com/javahr/p/9245443.html 查包名:rpm -qa|grep -i mysql删除命令:rpm -e –nodeps 包
阅读全文
摘要:ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation 原因之前mysql的 vi /etc/my.cnf 修改配置没有重启() mysql从服务器
阅读全文
摘要:# service mysqld status #命令来查看mysql 的启动状态,active (running) 是运行中 systemctl start mysqld.service #启动 mysql systemctl restart mysqld.service #重启 mysql sy
阅读全文
摘要:在mysql 的data 文件夹下 生成了一个.err的文件,打开发展,经常有人访问这个,服务器部署在腾讯云上。 2017-05-23 0:49:04 2996 [Warning] IP address '59.110.6.177' could not be resolved: 不知道这样的主机。
阅读全文
摘要:第一种:新建批处理文件 backup.dat,里面输入以下代码: 注意:批处理命令中路径里有空格的话,必须在路径上加上双引号!然后使用Windows的"计划任务"定时执行该批处理脚本即可。(例如:每天凌晨3点执行backup.bat)解释:备份和恢复的操作都比较简单,完整性比较高,控制备份周期比较灵
阅读全文
摘要:Data too long for column 'xxx' at row 数据库的默认的utff-8,且连接的字符串也设置了utf-8,数据库字段用的text,但是还是报错,原因超出了长度,要最大的话可以设置为LONGTEXT
阅读全文