上一页 1 2 3 4 5 6 ··· 13 下一页
  2020年12月3日
摘要: mysql -u web -p -P 端口 -D 数据库名 -Bse "select * from testwhere audit_status=4" >test.txt 提示输入密码,输入即可 mysqldump -u web -p'password' -P12046 dbname table_n 阅读全文
posted @ 2020-12-03 19:36 woshare 阅读(2417) 评论(0) 推荐(0) 编辑
  2020年12月1日
摘要: find&copy.bat ` @ECHO OFF @for /f %%i in (fileNameList.txt) do ( echo begin copy... %%i echo find file ... C:\Users\Administrator\Desktop\bat\test%%i 阅读全文
posted @ 2020-12-01 15:59 woshare 阅读(6568) 评论(0) 推荐(0) 编辑
  2020年11月30日
摘要: 1,问题:git checkout切换不到其他分支 git checkout exist-branch 失败 2,git checkout -a 查看有哪些分支 确实没有这个分支 3,git fetch origin new_remote-branch 拉取这个远程分支到本地 4,git check 阅读全文
posted @ 2020-11-30 20:30 woshare 阅读(1706) 评论(0) 推荐(0) 编辑
  2020年11月17日
摘要: 为什么存入mysql数据库中的timestamp,晚了13或14个小时 使用markdown,方便大家浏览,就又更新了一下 查看数据库时区 show variables like '%time_zone%'; select @@global.system_time_zone; select @@gl 阅读全文
posted @ 2020-11-17 17:48 woshare 阅读(806) 评论(0) 推荐(0) 编辑
摘要: mysql union 中使用order by失效 描述 MySQL UNION 操作符用于连接两个以上的 SELECT 语句的结果组合到一个结果集合中。多个 SELECT 语句会删除重复的数据。 语法 MySQL UNION 操作符语法格式: SELECT expression1, express 阅读全文
posted @ 2020-11-17 17:31 woshare 阅读(2058) 评论(0) 推荐(1) 编辑
  2020年10月27日
摘要: 1,在springboot项目中,加入了注解, @CrossOrigin, 无用, 2,之后添加nginx配置, add_header Access-Control-Allow-Origin *;ccess-Control-Allow-Headers "Authorization, Origin, 阅读全文
posted @ 2020-10-27 17:27 woshare 阅读(425) 评论(0) 推荐(0) 编辑
  2020年10月14日
摘要: 1,解决的问题:ConcurrentWebSocketSessionDecorator The remote endpoint was in state [TEXT_PARTIAL_WRITING], 注:websocket sendMessage 发送基本逻辑: 在发送消息前,会校验一下state 阅读全文
posted @ 2020-10-14 17:54 woshare 阅读(2859) 评论(0) 推荐(0) 编辑
  2020年7月30日
摘要: 1,先指定commit ,创建一个分支 >0.git pull --rebase oirigin 基础分支 >1,git checkout -b new_branch (git branch new_branch;git checkout new_branch)>2,指定commit上创建分支:gi 阅读全文
posted @ 2020-07-30 16:09 woshare 阅读(289) 评论(0) 推荐(0) 编辑
  2020年7月29日
摘要: 这取决于字符编码方式:一般情况下,采用ISO8859-1编码方式时,一个中文字符与一个英文字符一样只占1个字节;采用GB2312或GBK编码方式时,一个中文字符占2个字节;而采用UTF-8编码方式时,一个中文字符会占3个字节public void printStrLength(){ String s 阅读全文
posted @ 2020-07-29 17:37 woshare 阅读(714) 评论(1) 推荐(0) 编辑
  2020年5月23日
摘要: # 为什么存入mysql数据库中的timestamp,晚了13个小时 ## 查看数据库时区 ``` show variables like '%time_zone%'; select @@global.system_time_zone; select @@global.time_zone; 可以得到 阅读全文
posted @ 2020-05-23 18:20 woshare 阅读(1251) 评论(2) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页