随笔分类 -  走过的坑

摘要:原文链接:https://blog.csdn.net/weixin_43423781/article/details/105396230 错误信息:ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp 阅读全文
posted @ 2021-03-09 14:23 我会一直笑 阅读(11184) 评论(0) 推荐(0)
摘要:原文链接:https://blog.csdn.net/qevery678/article/details/96422599/ 问题[root@centos74 ~]# service mysqld startStarting MySQL.. ERROR! The server quit withou 阅读全文
posted @ 2021-03-09 14:20 我会一直笑 阅读(10271) 评论(0) 推荐(0)
摘要:感谢: https://www.cnblogs.com/feigao/p/10715547.html Mysql默认不允许远程登录,所以需要开启远程访问权限 可以先查看user表 select user,authentication_string,host from user; 默认都是localh 阅读全文
posted @ 2021-03-09 14:18 我会一直笑 阅读(625) 评论(0) 推荐(0)
摘要:1: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.example.myspringboot.dao.AyUserDao.findByNameAndPassword 这是因为n 阅读全文
posted @ 2018-07-18 10:49 我会一直笑 阅读(667) 评论(0) 推荐(0)
摘要:终端mysql Operation not permitted错误解决方案 一、背景 前段时间装mysql,就遇到了ln: /usr/bin/mysql: Operation not permitted的错误,网上好多方法都过时了,下边是我的解决方法 执行 sudo ln -s /usr/local 阅读全文
posted @ 2018-07-10 14:17 我会一直笑 阅读(1314) 评论(0) 推荐(0)
摘要:解决bash: mysql: command not found 的方法 root@DB-02 ~]# mysql -u root-bash: mysql: command not found 原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需 阅读全文
posted @ 2018-07-10 14:13 我会一直笑 阅读(12449) 评论(0) 推荐(1)
摘要:1 <select id="sltTreatment" resultType="com.vitaminmd.sunny.core.bo.Treatment"> 2 select * 3 from treatment 4 where TRUE 5 <if test="index == 'A'"> 6 阅读全文
posted @ 2018-03-25 18:44 我会一直笑 阅读(4494) 评论(0) 推荐(0)