• 博客园logo
  • 会员
  • 周边
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






空山心雨

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2021年4月30日

mysql安装两个版本
摘要: 转自https://www.cnblogs.com/sharonzhang/p/12520985.html 先安装了8.0版本,后来需要5.7版本,先把8.0版本的端口号改为3307(直接修改my.ini),后进行如下操作,安装成功 1. 先去官网下载要安装的版本(这里以Mysql5.7.24为例 阅读全文
posted @ 2021-04-30 09:54 空山心雨 阅读(439) 评论(0) 推荐(0)
 

2021年4月8日

远程连接数据库 出现 Client does not support authentication protocol requested by server的解决方法
摘要: 解决方法如下: 通过命令行进入解压的mysql根目录下。 登陆数据库 mysql -uroot -p 输入root的密码 Enter password: ****** 更改加密方式(原样拷贝到命令窗中) mysql> ALTER USER 'root'@'localhost' IDENTIFIED 阅读全文
posted @ 2021-04-08 09:09 空山心雨 阅读(709) 评论(0) 推荐(0)
 

2017年2月15日

struts标签遍历(备忘)
摘要: <s:iterator value="#request.ThemeList" var="m"> <li class="past_item"> <div class="past_img_w"> <!-- 开市状态 --> <s:if test="_status==1"> <i class="mar_s 阅读全文
posted @ 2017-02-15 16:04 空山心雨 阅读(103) 评论(0) 推荐(0)
 

2017年2月11日

js 变量获取ajax返回值,要改为同步
摘要: var html=resource(1); function resource(page){ var html=""; var dr='<%=imageSer%>'; $.ajax({ type:"post", data:{page:page,rows:"5"}, async: false, dat 阅读全文
posted @ 2017-02-11 09:48 空山心雨 阅读(445) 评论(0) 推荐(0)
 

2017年1月23日

redis学习及实践3---Jedis、JedisPool、Jedis分布式实例介绍
摘要: 一、相关jar包 主要用到的是jedis的核心包,笔者用到的是2.1.0版;另根据“池”的应用等还需要用到相关jar包。下图是笔者建立的简单的jedis测试project图: jar包的文档可参考: http://www.boyunjian.com/javadoc/org.apache.servic 阅读全文
posted @ 2017-01-23 15:48 空山心雨 阅读(692) 评论(0) 推荐(0)
 

2017年1月21日

js fmt 时间失败,解决方案
摘要: var time = "2016-12-13"; varn t ="<fmt:formatDate value='"+time +"' pattern='yyyy-MM-dd'/>"; console.log(t); js中打印失败,fmt在js 中不能接收参数; 改为字符串截取格式化String_ 阅读全文
posted @ 2017-01-21 13:47 空山心雨 阅读(142) 评论(0) 推荐(0)
 
jsonConfig 解决json格式转换问题
摘要: 通过java中 config.registerJsonValueProcessor(Date.class, new JsonDateValueProcessor()); config.registerJsonValueProcessor(Timestamp.class, new JsonDateVa 阅读全文
posted @ 2017-01-21 10:14 空山心雨 阅读(561) 评论(0) 推荐(0)
 

2017年1月19日

JSONObject和JSONArray
摘要: 一、JSONObject和JSONArray的数据表示形式 JSONObject的数据是用 { } 来表示的, 例如: { "id" : "123", "courseID" : "huangt-test", "title" : "提交作业", "content" : null } 而JSONArra 阅读全文
posted @ 2017-01-19 15:06 空山心雨 阅读(150) 评论(0) 推荐(0)
 
stringify()与parse
摘要: var asd ={username: '高红岩', password: '高红岩密码', age: 12, bigText: '1232'}; var asdParse ='{"username": "高红岩", "password": "高红岩密码", "age": 12, "bigText": 阅读全文
posted @ 2017-01-19 14:54 空山心雨 阅读(105) 评论(0) 推荐(0)
 

2017年1月18日

padding 与width
摘要: <style> .box{ width:200px; height:200px; background-color:pink; /* padding-left:20px;*/} .damao2{ width:200px; height:200px; background-color:pink; pa 阅读全文
posted @ 2017-01-18 21:32 空山心雨 阅读(223) 评论(0) 推荐(0)
 
下一页