目前在网上能找到的文章中,使用nmcli命令修改Linux系统中网卡连接的名称都是先创建新的连接,然后删除旧的连接的方式 此种方式其实完全不恰当,简直就是在浪费时间,nmcli命令本身就提供了直接修改连接名称的子命令"connection.id"。 例如有如下网卡连接名称:"Wired connec ...
分类:
其他好文 时间:
2021-07-29 16:16:41
阅读次数:
0
Git 中 push 错误 OpenSSL SSL_read: Connection was reset, errno 10054 ###现象 在Git Bash 中,上传(push)时,出现异常。 git push -u origin main ###处理方法 PS: 以下是我个人遇到时的几种解决 ...
分类:
其他好文 时间:
2021-07-26 16:53:15
阅读次数:
0
1、启动过程中出现Configuration has multiple addresses that match local node's address. Please configure the system with dfs.nameservice.id and dfs.ha.namenode ...
分类:
其他好文 时间:
2021-07-16 17:32:09
阅读次数:
0
1、threadLocal运用的场景 最常见的ThreadLocal使用场景为 用来解决 数据库连接、Session管理等 public class ThradLocalTest { private static ThreadLocal<Connection> connectionHolder = ...
分类:
其他好文 时间:
2021-07-05 17:36:19
阅读次数:
0
1、启动服务 systemctl restart mysqld.service 报错: 启动数据库Can‘t connect to MYSQL server through socket ''var/lib/mysql/mysql.cock(146 lock timed out:Retry tran ...
分类:
数据库 时间:
2021-07-05 17:35:04
阅读次数:
0
查了别人解决方法,最终自己的解决方法如下,http和https都不要配置代理,主要是下面那句,因为git就是https的 git config --global --unset http.proxy git config --global --unset https.proxy 分别执行了下面的两句 ...
分类:
其他好文 时间:
2021-07-02 16:13:13
阅读次数:
0
1——加载驱动—— Class.forName("com.mysql.jdbc.Driver"); 2——建立连接—— Connection con = DriverManager.getConnection(url,userName,password); 3——创建执行环境—— Statement ...
分类:
数据库 时间:
2021-07-02 15:44:54
阅读次数:
0
JDBC 映射数据库时成员变量命名不规范导致的bug //未完待续,待补充测试信息; ####JDBC连接数据库时,用新建的实体类去映射数据库中表信息,因为命名不规范,导致输出结果始终为空; ####期间解析过程正常,添加过程正常 映射类: public class Dep { private In ...
分类:
其他好文 时间:
2021-07-02 15:33:35
阅读次数:
0
TCP系列01—概述及协议头格式 一、TCP简单介绍 我们经常听人说TCP是一个面向连接的(connection-oriented)、可靠的(reliable)、字节流式(byte stream)传输协议, TCP的这三个特性该怎么理解呢? 面向连接:在应用TCP协议进行通信之前双方通常需要通过三次 ...
分类:
其他好文 时间:
2021-07-01 16:43:49
阅读次数:
0
1、当前集群状态 [kingbase@ECOLABAPP37 bin]$ ./repmgr cluster show ID | Name | Role | Status | Upstream | Location | Priority | Timeline | Connection string + ...
分类:
其他好文 时间:
2021-07-01 16:27:49
阅读次数:
0