摘要: 一、停止mysqld进程 二、修改/etc/my.cnf(在mysqld选项添加skip-grant-tables),设置免密码登录: 三、登录mysql并修改root密码为空: 四、退出mysql,去掉/etc/my.cnf上的skip-grant-tables,上述步骤二添加的配置 五、再次登录 阅读全文
posted @ 2018-10-26 21:47 郑楚周 阅读(1433) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1、安装 2、测试 配置nginx根目录为laravel/public,并且美化路由: http://localhost/index.php,出现如下页面证明安装laravel成功: 二、路由Route: 1、get案例: 2、post案例: 备注:如果出现如下页面 原因:因为post方法 阅读全文
posted @ 2018-10-26 12:28 郑楚周 阅读(392) 评论(0) 推荐(0) 编辑