<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[boyames的博客]]></title><description><![CDATA[努力做一名头发茂密的程序员]]></description><link>https://blog.youkuaiyun.com/boyames</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; boyames]]></copyright><item><title><![CDATA[MySQL数据库更换数据路径]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/132906465</link><guid>https://blog.youkuaiyun.com/boyames/article/details/132906465</guid><author>boyames</author><pubDate>Fri, 15 Sep 2023 16:11:46 +0800</pubDate><description><![CDATA[在mysql运行时会产生mysql.sock文件，需与新地址进行链接。将旧地址生成的mysql.sock拷贝到新的路径，并进行链接。]]></description><category></category></item><item><title><![CDATA[性能测试常用术语]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/127678951</link><guid>https://blog.youkuaiyun.com/boyames/article/details/127678951</guid><author>boyames</author><pubDate>Thu, 03 Nov 2022 21:42:28 +0800</pubDate><description><![CDATA[性能测试常用术语]]></description><category></category></item><item><title><![CDATA[学习Loadrunner遇到问题记录]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/127678681</link><guid>https://blog.youkuaiyun.com/boyames/article/details/127678681</guid><author>boyames</author><pubDate>Thu, 03 Nov 2022 21:27:10 +0800</pubDate><description><![CDATA[学习Loadrunner遇到问题记录]]></description><category></category></item><item><title><![CDATA[使用canal同步数据，踩坑排雷全过程]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124575838</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124575838</guid><author>boyames</author><pubDate>Wed, 04 May 2022 20:06:37 +0800</pubDate><description><![CDATA[1、mysql配置

(1)检查binlog功能是否有开启


mysql&gt; show variables like 'log_bin';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| log_bin | OFF |
+---------------+-------+
1 row in set (0.00 sec)

如果log_bin 显示为OFF则说明服务没有开启，需要修改Linux中]]></description><category></category></item><item><title><![CDATA[canal因为内存原因在Linux无法运行启动（There is insufficient memory for the Java Runtime Environment to continue）]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124575555</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124575555</guid><author>boyames</author><pubDate>Wed, 04 May 2022 19:20:53 +0800</pubDate><description><![CDATA[canal因为内存原因在Linux无法运行启动（There is insufficient memory for the Java Runtime Environment to continue）
遇到问题：
安装好canal后，在canal/bin目录中启动startup.sh 没有成功，也没有生成canal/logs文件夹中生成canal.log日志,在进程命令中ps -ef | grep canal也查不到canal进程。
解决方法：
1、查看日志文件里面的错误：
在目录canal/logs中查看文件]]></description><category></category></item><item><title><![CDATA[windows下远程访问linux中的mysql数据库（创建数据库新用户）]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124555293</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124555293</guid><author>boyames</author><pubDate>Tue, 03 May 2022 15:10:07 +0800</pubDate><description><![CDATA[windows下远程访问linux中的mysql数据库（创建数据库新用户）
如果想要远程访问数据库，数据库必须开启权限，允许可以被远程访问。
1.进入Linux系统mysql数据库查看user表
mysql&gt; use mysql;
mysql&gt; select User,Host from user;
+---------------+-----------+
| User          | Host      |
+---------------+-----------+
| mysql.s]]></description><category></category></item><item><title><![CDATA[nginx里location ~小问题]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124349146</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124349146</guid><author>boyames</author><pubDate>Fri, 22 Apr 2022 16:34:56 +0800</pubDate><description><![CDATA[nginx里location ~小问题
错误写法：
为了偷懒，在nginx.conf文件中，直接复制修改location地址，没有及时地删除废弃的location地址，出现了无法调用服务的情况。
错误代码如下：
server {
			listen       9001;
			server_name  localhost;
			
			location ~ /educenter/ { 
				proxy_pass http://localhost:8006;
			}
			
			location ]]></description><category></category></item><item><title><![CDATA[Unexpected token o in JSON at position 1 报错原因及解决方法]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124341251</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124341251</guid><author>boyames</author><pubDate>Fri, 22 Apr 2022 11:30:18 +0800</pubDate><description><![CDATA[Unexpected token o in JSON at position 1 报错原因及解决方
问题描述：
在做登录页面，实现登录功能，返回token值时，提示 Unexpected token o in JSON at position 1，发现cookie的值为[object Object]，而不是String字符串类型，无法使用JSON.parse方法，报错。
修改之前的写法：
cookie.set('ucenter',this.loginInfo,{domain: 'localhost'})

]]></description><category></category></item><item><title><![CDATA[baomidou.mybatisplus分页失败，查询出所有数据]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124301806</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124301806</guid><author>boyames</author><pubDate>Wed, 20 Apr 2022 16:57:35 +0800</pubDate><description><![CDATA[baomidou.mybatisplus分页失败，查询出所有数据
个人原因：没有引入分页插件，直接写代码查询
正确方法：
1、maven：
&lt;dependency&gt;
        &lt;groupId&gt;com.baomidou&lt;/groupId&gt;
        &lt;artifactId&gt;mybatis-plus-boot-starter&lt;/artifactId&gt;
    &lt;/dependency&gt;

2、引入插件：
@Configurat]]></description><category></category></item><item><title><![CDATA[Could not get a resource from the pool 错误解决]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124296014</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124296014</guid><author>boyames</author><pubDate>Wed, 20 Apr 2022 14:04:28 +0800</pubDate><description><![CDATA[Could not get a resource from the pool 错误解决
错误信息:Could not get a resource from the pool
可能造成错误原因：
1 没关闭Linux防火墙
查看防火墙状态
systemctl status firewalld.service

Active: active（running），说明防火墙是开启状态
关闭防火墙命令
systemctl stop firewalld.service

Active: inactive (dead)]]></description><category></category></item><item><title><![CDATA[我的redis目录位置和一些基本命令]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124295265</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124295265</guid><author>boyames</author><pubDate>Wed, 20 Apr 2022 13:28:14 +0800</pubDate><description><![CDATA[目录位置
# cd /opt/redis-6.2.1/src

开启服务
# ./redis-server ../redis.conf

进行操作
# ./redis-cli

查看redis进程
# ps -ef|grep redis


]]></description><category></category></item><item><title><![CDATA[org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124141020</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124141020</guid><author>boyames</author><pubDate>Wed, 13 Apr 2022 10:13:12 +0800</pubDate><description><![CDATA[org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):eduservice.mapper.EduCourseMapper.getPublishCourseInfo
（方法绑定异常）
项目中创建mapper接口，编写xml文件sql语句，执行出现错误
有可能错误原因：
1、mapper里方法名错误（不一致）
解决方式：修改方法名，保持一致
2、maven加载机制造成的问题
maven加载时候，把java文]]></description><category></category></item><item><title><![CDATA[java.lang.IllegalArgumentException: Source must not be null]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/124099528</link><guid>https://blog.youkuaiyun.com/boyames/article/details/124099528</guid><author>boyames</author><pubDate>Mon, 11 Apr 2022 15:00:22 +0800</pubDate><description><![CDATA[查询的数据库里的内容不能为null
]]></description><category></category></item><item><title><![CDATA[Linux学习笔记（命令）]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/123789520</link><guid>https://blog.youkuaiyun.com/boyames/article/details/123789520</guid><author>boyames</author><pubDate>Tue, 29 Mar 2022 09:33:45 +0800</pubDate><description><![CDATA[学习：《韩顺平一周学会Linux》
1.vi 和 vim
1.1正常模式
以 vim 打开一个档案就直接进入一般模式了(这是默认的模式)。在这个模式中， 你可以使用『上下左右』按键来移动光标，你可以使用『删除字符』或『删除整行』来处理档案内容， 也可以使用『复制、粘贴』来处理你的文件数据。
1.2插入模式
按下 i, I, o, O, a, A, r, R 等任何一个字母之后才会进入编辑模式, 一般来说按 i 即可. 6.2.3命### 1.3令行模式
输入 esc 再输入：在这个模式当中， 可以提供你相关]]></description><category></category></item><item><title><![CDATA[xshell连接Linux并用docker拉取rabbitmq镜像]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/123484671</link><guid>https://blog.youkuaiyun.com/boyames/article/details/123484671</guid><author>boyames</author><pubDate>Mon, 14 Mar 2022 18:09:02 +0800</pubDate><description><![CDATA[1、先进入虚拟机查看地址
命令：ifconfig
地址：inet 192.168.43.8（这个是我的地址）
2、使用Xshell进行连接

4、安装docker
安装：
yum install docker-ce docker-ce-cli containerd.io

启动：
systemctl start docker

测试：
docker version

5、安装、运行rabbitmq
安装：
docker pull rabbitmq:3.7.7-management

运行：
docker r]]></description><category></category></item><item><title><![CDATA[jdbc时区问题]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/122736077</link><guid>https://blog.youkuaiyun.com/boyames/article/details/122736077</guid><author>boyames</author><pubDate>Fri, 28 Jan 2022 20:22:48 +0800</pubDate><description><![CDATA[在连接字符串后面加上?serverTimezone=UTC
其中UTC是统一标准世界时间。
示例：
jdbc:mysql://localhost:3306/my_test?serverTimezone=UTC

中文乱码输入问题：
jdbc:mysql://127.0.0.1:3306/my_test?useUnicode=true&amp;characterEncoding=UTF-8

结合：
jdbc:mysql://127.0.0.1:3306/my_test?useUnicode=true&amp]]></description><category></category></item><item><title><![CDATA[SQL里limit和offset]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/120960140</link><guid>https://blog.youkuaiyun.com/boyames/article/details/120960140</guid><author>boyames</author><pubDate>Mon, 25 Oct 2021 20:51:33 +0800</pubDate><description><![CDATA[经常用到在数据库中查询中间几条数据
比如下面的题目：
牛客
查找入职员工时间排名倒数第三的员工
有一个员工employees表简况如下:

请你查找employees里入职员工时间排名倒数第三的员工所有信息，以上例子输出如下:

解：
select *
from employees
order by hire_date DESC
LIMIT 2,1

select *
from employees
order by hire_date DESC
LIMIT 1 offset 2

2.offset X是跳过]]></description><category></category></item><item><title><![CDATA[SQL语句笔记]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/120711127</link><guid>https://blog.youkuaiyun.com/boyames/article/details/120711127</guid><author>boyames</author><pubDate>Mon, 11 Oct 2021 20:50:59 +0800</pubDate><description><![CDATA[书写顺序：select-from-where-group by-having-order by-limit
基本组成

from，后跟着原表
where，表示在计算前对原表的记录进行筛选
group by，用于分组
在from，where，group by语句都执行完后，才会开始执行select语句
having只存在group by语句时才会使用having，主要用于对聚合函数计算后的字段进行筛选
order by 用于排序
limit，用于限制显示

多表查询
连接方式：join和union


joi]]></description><category></category></item><item><title><![CDATA[alibaba fastjson jsonarray转list]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/120010622</link><guid>https://blog.youkuaiyun.com/boyames/article/details/120010622</guid><author>boyames</author><pubDate>Tue, 31 Aug 2021 09:43:38 +0800</pubDate><description><![CDATA[String avatar = teacherEntity.getAvatar();

        if(!StringUtils.isEmpty(avatar)){

            List&lt;JSONObject&gt; list = JSONObject.parseArray(avatar, JSONObject.class);

            String ava = (String)list.get(0).get("filePath");
            tea]]></description><category></category></item><item><title><![CDATA[git format-patch 打补丁]]></title><link>https://blog.youkuaiyun.com/boyames/article/details/120010292</link><guid>https://blog.youkuaiyun.com/boyames/article/details/120010292</guid><author>boyames</author><pubDate>Tue, 31 Aug 2021 09:28:05 +0800</pubDate><description><![CDATA[git format-patch 打补丁
git format-patch
$ git format-patch HEAD^ 　　　　　　　　　　　　　   #生成最近的1次commit的patch
$ git format-patch HEAD^^　　　　　　　　　　　　　  #生成最近的2次commit的patch
$ git format-patch HEAD^^^ 　　　　　　　　　　　　　#生成最近的3次commit的patch
$ git format-patch HEAD^^^^ 　　　　　　]]></description><category></category></item></channel></rss>