上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 1、查询mysql是否启动 netstat -lnp|grep 3306 ps -df |grep mysqld 2、通过TCPIP的方式测试连接 mysql -uqingjiao -padmin123 -h191.168.1.02 -P9922 阅读全文
posted @ 2018-09-18 17:48 让双脚&去腾空 阅读(108) 评论(0) 推荐(0)
摘要: grant all on wordpress.* to wordpress@'10.0.0.%' identified by 'wordpress'; all 全部权限 wordpress@'10.0.0.%' 用户(没有该用户则创建新用户) wordpress.* 作用对象 1. *.* 当前my 阅读全文
posted @ 2018-09-18 15:11 让双脚&去腾空 阅读(1144) 评论(0) 推荐(0)
摘要: /etc/init.d/mysqld stop //停止数据库/etc/init.d/mysqld restart //启动数据库(1)开启特殊启动模式mysqld_safe --skip-grant-tables --skip-networking & //跳过授权,直接登陆mysql不需要密码 阅读全文
posted @ 2018-09-17 21:28 让双脚&去腾空 阅读(598) 评论(0) 推荐(0)
摘要: Linux:开源 Ubuntu Centos Deepin Debian Linux mint 。。。 1、省钱 2、省资源 Linux由unix演化而来 Linux:开源 Unix: 闭源 solary ibm vmware: 宿主机 虚拟机 客户机 安装所有软件必须要在没有中文没有空格的路径下 阅读全文
posted @ 2018-09-16 10:00 让双脚&去腾空 阅读(349) 评论(0) 推荐(0)
摘要: var products = []; products.push({product_id: '1',count: 3},{product_id:'2',count: 6}) 阅读全文
posted @ 2018-08-06 15:57 让双脚&去腾空 阅读(8540) 评论(0) 推荐(1)
摘要: <?php $redis = new \Redis(); $redis->connect('127.0.0.1',6379); $password = '123456'; $redis->auth($password); //redis进行密码验证 $arr = array('h','e','l', 阅读全文
posted @ 2018-08-05 21:14 让双脚&去腾空 阅读(408) 评论(0) 推荐(0)
摘要: //获取32位随机字符串 $randTocke = getRandChar($length); //当前脚本运行时间, 单位为十万分之一毫秒 $timestamp = $_SERVER['REQUEST_TIME_FLOAT']; //盐(自定义字符串,加密用) $sale = config('se 阅读全文
posted @ 2018-08-04 17:00 让双脚&去腾空 阅读(337) 评论(0) 推荐(0)
摘要: 首先tp5的访问目录指向到webroot/public文件夹中。thinkphp的url访问:http://serverName/index.php(或者其它应用入口文件)/模块/控制器/操作/[参数名/参数值...],这个需要支持pathinfo,Apache默认支持,而Nginx不支持。1.ph 阅读全文
posted @ 2018-07-30 15:34 让双脚&去腾空 阅读(2468) 评论(0) 推荐(1)
摘要: 原文 https://www.linuxidc.com/Linux/2017-10/147556.htm 使用Nginx搭建phpMyAdmin 使用Nginx搭建phpMyAdmin Nginx有什么用? Nginx可读作EngineX是由俄罗斯程序员Igor Sysoev开发的高性能的web服务 阅读全文
posted @ 2018-07-30 09:38 让双脚&去腾空 阅读(4090) 评论(0) 推荐(0)
摘要: 查看当前 PHP 版本 1 php -v 1 php -v 1 php -v 1 php -v php -v 查看当前 PHP 相关的安装包,删除之 1 2 3 4 5 yum list installed | grep php yum remove php yum remove php-* 1 2 阅读全文
posted @ 2018-07-28 10:56 让双脚&去腾空 阅读(1773) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 10 下一页