- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 navicat连接mysql出现client doesnotsupport authentication protocol
进入mysql控制台查询 select host,user,plugin,authentication_string from mysql.user; 根据自己的连接情况修改。 在mysql8之前的版本中加密规则为mysql_native_password 而在mysql8以后的加密规则为caching_sha2_password。 ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘password’ PASSWORD EXPIRE NEVER; #修改加密规则
2020-05-18 09:13:27
168
转载 常用正则表达式
原文:http://www.cnblogs.com/zxin/archive/2013/01/26/2877765.html 一、校验数字的表达式 1. 数字:^[0-9]*$ 2. n位的数字:^\d{n}$ 3. 至少n位的数字:^\d{n,}$ 4. m-n位的数字:^\d{m,n}$ 5. 零和非零开头的数字:^(0|[1-9][0-9]*)$ 6. 非零开头的最多带两位...
2018-09-14 10:58:57
126
原创 No enum const class org.apache.ibatis.type.JdbcType.Integer
原因:写SQL语句的时候jdbcType后面的类型没有全部大写 <if test="dealStatus != null"> deal_status = #{dealStatus,jdbcType=Integer}, </if> 解决方法:` <if test="dealStatus != null"&...
2018-08-01 10:47:13
1518
1
原创 AJAX传特殊符号到后台解决
ajax里面写法: $.get("getMateria", { spec : encodeURIComponent(spec), whId : $('#warehouse').val() }, function(result) { result ...
2018-07-31 16:38:54
1400
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人