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