会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YSHY
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
66
下一页
2019年11月19日
Skipping unneeded JARs during scanning can improve startup time and JSP compilation time
摘要: Tomcat在启动是提示: INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs.
阅读全文
posted @ 2019-11-19 08:23 yshy
阅读(4313)
评论(1)
推荐(0)
2019年11月18日
Nginx配置反向代理支持WebSocket
摘要: http { #WebSocket代理配置 map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { location /app { proxy_set_header Host $host; proxy_set_header X-real-ip $remote_addr; proxy_set_head
阅读全文
posted @ 2019-11-18 10:28 yshy
阅读(566)
评论(0)
推荐(0)
2019年11月15日
Tomcat通过脚本自动部署
摘要: 1:autodeploy_tomcat_app.sh 2:将test.war上传至/home/test/apache-tomcat-8.5.34目录,然后执行以下脚本进行部署
阅读全文
posted @ 2019-11-15 14:18 yshy
阅读(523)
评论(0)
推荐(0)
2019年11月11日
【转】调用百度API,HTML在线文字转语音播报
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Doc
阅读全文
posted @ 2019-11-11 10:24 yshy
阅读(1700)
评论(0)
推荐(0)
2019年11月9日
Java stream 并发应用案例
摘要: 在磁盘目录下有几十个txt文件,里面存储着XML格式的数据,每个文件在2-3M左右,现在需要将以上文件解析出来保存到mysql数据库,总数据量大概在30万条左右。 (1)首先通过stream并发解析TXT文件,然后将解析的结果按照LOAD DATA的标准全部保存到一个文件中; (2)步骤(1)执行完
阅读全文
posted @ 2019-11-09 16:16 yshy
阅读(1065)
评论(0)
推荐(0)
java 执行 shell脚本通过mysql load data导入数据
摘要: 1:load_data_test.sh 备注:$?如果为1表示脚本执行出错,为0表示脚本执行成功。 2:java代码 3:测试
阅读全文
posted @ 2019-11-09 16:03 yshy
阅读(2171)
评论(0)
推荐(1)
2019年10月28日
修改mysql存储过程或函数的定义着
摘要: 以root用户登录mysql控制台 (1)首先查询 (2)然后根据条件进行更新
阅读全文
posted @ 2019-10-28 20:55 yshy
阅读(840)
评论(0)
推荐(0)
[ERR] 1118 - Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
摘要: 编辑server.cnf增加以下配置: 然后重启mysql服务器即可。
阅读全文
posted @ 2019-10-28 20:53 yshy
阅读(594)
评论(0)
推荐(0)
2019年10月10日
定时杀死mysql中sleep的进程
摘要: #!/bin/sh date=`date +%Y%m%d\[%H:%M:%S]` n=`mysqladmin -uroot -p** processlist | grep -i sleep | wc -l` echo "sleep count:$n" if [ "$n" -gt 10 ]; then for i in `mysqladmin -uroot -p** processlist | gr
阅读全文
posted @ 2019-10-10 10:19 yshy
阅读(901)
评论(0)
推荐(1)
centos7安装配置MariaDB10
摘要: 1:添加 MariaDB yum 仓库 vi /etc/yum.repos.d/MariaDB.repo在该文件中添加以下内容保存: 2:安装 MariaDB (1)安装完毕后,立即启动数据库服务守护进程。 (2)设置 MariaDB 在操作系统重启后自动启动服务 (3)查看 MariaDB 服务当
阅读全文
posted @ 2019-10-10 09:24 yshy
阅读(1410)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
66
下一页
公告