摘要: 1.vim /etc/my.cnf[mysqld]skip-grant-tables ##追加此行,跳过权限表, 2.重启mysqlsystemctl restart mysqld 3.mysql 登陆mysqlmysql> use mysql;mysql> UPDATE user SET Pass 阅读全文
posted @ 2019-07-01 17:24 php毛宏历的博客 阅读(1884) 评论(0) 推荐(0) 编辑
摘要: 注意事项:1. 卸载yum MYSQLsystemctl status mysqlsystemctl stop mysqlsystemctl disable mysqld rpm -qa | grep -i mysqlyum remove mysql-community-server-5.6.40- 阅读全文
posted @ 2019-07-01 17:24 php毛宏历的博客 阅读(208) 评论(0) 推荐(0) 编辑
摘要: linux memcached安装yum -y install libevent libevent-deve yum list memcached yum -y install memcached memcached -h systemctl enable memcached.service vim 阅读全文
posted @ 2019-07-01 17:23 php毛宏历的博客 阅读(162) 评论(0) 推荐(0) 编辑
摘要: linux装软件方式: systemctl status firewalld.service 查看防火墙systemctl stop firewalld.service systemctl disable firewalld.service 开机 防火墙 不自启 ###Nginx#######安装篇 阅读全文
posted @ 2019-07-01 17:21 php毛宏历的博客 阅读(822) 评论(0) 推荐(0) 编辑
摘要: <td><input type="checkbox" name="check" value="{$vo.id}">{$vo.id}</td> <input type="button" class="yes" value="全選"> <input type="button" class="no" va 阅读全文
posted @ 2019-07-01 17:19 php毛宏历的博客 阅读(173) 评论(0) 推荐(0) 编辑
摘要: //批量刪除 阅读全文
posted @ 2019-07-01 17:18 php毛宏历的博客 阅读(294) 评论(0) 推荐(0) 编辑
摘要: //控制器function show(Request $request){ $page=$request->page?$request->page:1; $size=4; $pian=($page-1)*$size; $sql=DB::select("select * from scores "); 阅读全文
posted @ 2019-07-01 17:15 php毛宏历的博客 阅读(212) 评论(0) 推荐(0) 编辑
摘要: function add(Da $req){ $file= $req->file("file"); //接前台值 $tu=$file->getClientOriginalName(); //图片路径 $data=$file->move("image",$tu); $all= $req->all(); 阅读全文
posted @ 2019-07-01 17:09 php毛宏历的博客 阅读(187) 评论(0) 推荐(1) 编辑