- 博客(3)
- 收藏
- 关注
原创 Linux下重置MySQL8.0.1 root密码
第一步:修改配置文件免密登陆vim /etc/my.cnf第二步:在[mysqld]后任意位置处插入 skip-grant-tables第三步:重启mysql服务:service mysqld restart第四步:免密码登陆到mysql上;直接在命令行上输入:mysql//或者mysql -u root -p//password直接回车第五步:给root用户重...
2018-11-30 12:06:32
480
原创 Jquery on事件执行两次
$(function(){ $("#a").on("click", function() { alert(a); }); });弹出两次“a”,这个问题的解决办法如下: $(function(){ $("#a").unbind("click").click(function (){ alert(a); });...
2018-11-29 15:57:58
747
1
原创 解决The resource identified by this request is only capable of generating responses with charac.......
在调试springmvc的时候,将一个对象返回为json串的时候,浏览器报406错误,错误内容如下:The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request “accept”...
2018-10-26 12:10:58
1350
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人