"ヾ(◍°∇°◍)ノ゙加油哟~","愿我们不负昭华,以梦为马!","愿我们历尽千帆,归来仍是少年!"

03 2022 档案

摘要:import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; import org.springframe 阅读全文
posted @ 2022-03-27 18:44 深夜独行侠 阅读(61) 评论(0) 推荐(0) 编辑
摘要:一、开启慢日志查询 1、查询开启 #慢查询是否开启和日志位置 show variables like 'slow_query%'; #慢查询时间 show variables like 'long_query_time'; #开启慢查询日志 set global slow_query_log='ON 阅读全文
posted @ 2022-03-22 14:47 深夜独行侠 阅读(33) 评论(0) 推荐(0) 编辑
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up 阅读全文
posted @ 2022-03-22 12:56 深夜独行侠 阅读(54) 评论(0) 推荐(0) 编辑
摘要:如果有穿墙插件如Google助手 VPN SS 之类别 有可能被全局代理 首先关闭这些软件 或者浏览器插件 假设,您的本地代理端口为:1080 ,打开git base窗口进行按下列的方式设置。(在Linux及OSX系统环境下测试通过。) 全局代理(不推荐) 设置代理 git config --glo 阅读全文
posted @ 2022-03-20 18:56 深夜独行侠 阅读(70) 评论(0) 推荐(0) 编辑
摘要:修改host文件 # update: 20220222 # Github Hosts # domain: github.com 140.82.113.4 github.com 140.82.114.9 nodeload.github.com 140.82.112.5 api.github.com 1 阅读全文
posted @ 2022-03-20 18:52 深夜独行侠 阅读(22177) 评论(0) 推荐(0) 编辑
摘要:1、轮询(默认)每个请求按时间顺序逐一分配到不同的后端服务器,如果后端服务器down掉,能自动剔除。upstream backserver {undefinedserver 192.168.0.14;server 192.168.0.15;} 2、指定权重指定轮询几率,weight和访问比率成正比, 阅读全文
posted @ 2022-03-19 19:57 深夜独行侠 阅读(58) 评论(0) 推荐(0) 编辑
摘要:一、依赖安装 在linux下安装nginx,首先需要安装 gcc-c++编译器。然后安装nginx依赖的pcre和zlib包。最后安装nginx即可。 1.先安装gcc-c++编译器 yum install gcc-c++ yum install -y openssl openssl-devel 2 阅读全文
posted @ 2022-03-19 19:04 深夜独行侠 阅读(3172) 评论(0) 推荐(1) 编辑
摘要:去掉框中的选项 阅读全文
posted @ 2022-03-19 16:13 深夜独行侠 阅读(386) 评论(0) 推荐(0) 编辑
摘要:@echo on @rem 删除SVN版本控制目录 @rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn" @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a 阅读全文
posted @ 2022-03-19 12:37 深夜独行侠 阅读(58) 评论(0) 推荐(0) 编辑
摘要:原因: 利用mybatis插入空值给数据库;mysql能够正常执行,而Oracle却抛出异常; 这两种截然不同的表现给程序员造成了困扰,那么这个抛异常的锅到底应该是谁来背呢? 当然是mybatis来背锅喽。oracle和mysql都根据jdbc接口来提供了自己的实现方法, 而mybatis作为一个封 阅读全文
posted @ 2022-03-18 22:35 深夜独行侠 阅读(929) 评论(0) 推荐(1) 编辑
摘要:#命令查看最大连接数。 show variables like "max_connections" #命令修改最大连接数 set GLOBAL max_connections=1000; #查看具体的连接数信息。 show processlist #关闭一个非交互连接前要等待的秒数 show glo 阅读全文
posted @ 2022-03-18 17:50 深夜独行侠 阅读(463) 评论(0) 推荐(0) 编辑
摘要:进入mysql数据库,修改数据库的内容 1, use mysql; 2,update user set authentication_string="" where User='root';//设 authentication_string 为空值 ,因为是连接这个加密的东西 先设密码为空 3,up 阅读全文
posted @ 2022-03-18 17:31 深夜独行侠 阅读(389) 评论(0) 推荐(0) 编辑
摘要:数据库内置表 https://www.cnblogs.com/gengyufei/p/13376184.html 阅读全文
posted @ 2022-03-18 17:11 深夜独行侠 阅读(25) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/tangsong41/p/14441845.html 阅读全文
posted @ 2022-03-18 15:16 深夜独行侠 阅读(14) 评论(0) 推荐(0) 编辑
摘要:fatal: unable to access 'https://github.com/torchstar/hellogit.git/': OpenSSL SSL_read: Connection was reset, errno 10054 git config --global http.ssl 阅读全文
posted @ 2022-03-09 11:57 深夜独行侠 阅读(36) 评论(0) 推荐(0) 编辑
摘要:用户名: 随意填写 秘钥: ccbfc13e-c31d-42ce-8939-3c7e63ed5417a56ea5da-f30b-4fb1-8a05-95f346a9b20ba0fe8645-3916-45d4-9976-cb6b88fecc6c b70d7f66-dac2-4462-bf51-c4e 阅读全文
posted @ 2022-03-08 10:39 深夜独行侠 阅读(1392) 评论(1) 推荐(0) 编辑
摘要:public static void main(String[] args) { Calendar c=Calendar.getInstance(); SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd"); //今天 String toda 阅读全文
posted @ 2022-03-01 14:31 深夜独行侠 阅读(448) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示