2017年10月12日

摘要: 1.停止mysql服务器运行,-> service mysql stop 2.进入 mysql 安装目录 /usr/bin/ -> mysqld --skip-grant-tables 3. 重新打开远程连接,进入mysql 重置密码 连接mysql的时候发生这个错误: ERROR 1130: Ho 阅读全文
posted @ 2017-10-12 14:41 lianruihong 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 一、防火墙配置:centos7.0防火墙默认使用的是firewall,需要改为iptables (1)关闭firewall:[root@localhost] systemctl stop firewall.service #停止firewall服务,服务命令用systemctl而不是centos6. 阅读全文
posted @ 2017-10-12 14:15 lianruihong 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1. 修改Yii2.0框架配置文件 'urlManager' => array( "showScriptName" => false, "enablePrettyUrl" => true, 'rules' => [ "<controller:\w+>/<action:\w+>" => '<contr 阅读全文
posted @ 2017-10-12 09:37 lianruihong 阅读(118) 评论(0) 推荐(0) 编辑

导航