1.介绍 JConsole图形用户界面是符合Java管理扩展(JMX)规范的监视工具,可以监测有关在Java平台上运行的应用程序的性能和资源消耗的信息。 启动JConsole jconsole [ options ] [ connection ... ] connection = pid | hos ...
分类:
系统相关 时间:
2020-06-30 22:29:15
阅读次数:
101
MyBatis 是一款优秀的半自动的轻量级的持久层框架。 创建Maven项目 pom.xml 导入相关依赖 org.mybatis → mybatis mysql-connection-java → mysql org.projectlombok → lombok log4j → log4j <?x ...
分类:
其他好文 时间:
2020-06-30 19:01:34
阅读次数:
53
Can’t login: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect
// Body represents the response body. // // The response body is streamed on demand as the Body field // is read. If the network connection fails or t ...
分类:
其他好文 时间:
2020-06-30 11:07:15
阅读次数:
64
修改最大连接数 重启 查询已连接数 1、查看当前用户连接数:select connections(); 2、修改用户new_user的最大并发连接数为50:alter user new_user with connection limit 50; 3、修改用户new_user的最大连接时间为2小时: ...
分类:
其他好文 时间:
2020-06-30 10:25:55
阅读次数:
142
问题: 使用Flask-SQLALchemy连接mysql数据库,过几个小时第一次使用会出现MySQL Connection not available的情况,第二次使用又恢复正常了。 解决方案: 用命令查看数据库的过期时间 show global variables like 'wait_time ...
分类:
数据库 时间:
2020-06-29 17:19:09
阅读次数:
176
全栈的自我修养: 环境搭建 Not all those who wander are lost. 彷徨者并非都迷失方向。 Table of Contents @ 当你看到这篇文章的时候,暂且认为你对如何做一个网站有了兴趣. 前言 本系列文章将从一个完整的项目是如何开发的过程进行编写,期间会涉及前端、 ...
分类:
编程语言 时间:
2020-06-29 15:46:21
阅读次数:
95
按照常规配置好后,单节点启动报错如下: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLExcep ...
分类:
数据库 时间:
2020-06-29 11:36:05
阅读次数:
155
在jsp中获取数据库数据 <% Class.forName("com.mysql.jdbc.Driver");//加载mysql驱动 Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test1", "r ...
分类:
数据库 时间:
2020-06-29 09:37:42
阅读次数:
71
一. HTTP常见请求头 1. Host (主机和端口号) 2. Connection (连接类型) 3.Upgrade-Insecure-Requests (升级为HTTPS请求) 4. User-Agent (浏览器名称) 5. Accept (传输文件类型) 6.Referer (页面跳转处) ...
分类:
Web程序 时间:
2020-06-28 18:57:30
阅读次数:
98