官网地址:https://redis.io/commands/expire redis过期定义如下: Set a timeout on key. After the timeout has expired, the key will automatically be deleted. A key w ...
分类:
其他好文 时间:
2019-03-19 18:59:57
阅读次数:
142
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密规则 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_passw ...
分类:
数据库 时间:
2019-03-17 00:52:03
阅读次数:
308
设置COOKIE setcookie ( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "" [, bool$secure = false [, bool& ...
分类:
其他好文 时间:
2019-03-01 13:00:28
阅读次数:
200
key 命令(key命令:用于管理 redis 的key)相应操作: key 命令 | 说明 | del key [key...] | dump key | 序列化给定 key ,并返回被序列化的值。 exists key | expire key seconds | expireat key ti ...
分类:
其他好文 时间:
2019-01-10 15:28:07
阅读次数:
457
<?php//1?查询缓存//2?哈希缓存classCache{private$hash_key=‘‘;//哈希缓存的键private$expire=10;//查询缓存过期时间privatefunctionget_key($param){//获取存入查询缓存的键}publicfunctioninsert_data(){//1、添加数据到数据库//2、清除查询缓存//3、添加数据到哈希缓存中}
分类:
其他好文 时间:
2019-01-04 00:28:00
阅读次数:
200
推荐使用已下命令: ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密规则 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_na ...
分类:
数据库 时间:
2018-12-22 01:41:52
阅读次数:
211
dns配置文件解析 SOA(Start Of Authority): ZONE NAME TTL IN SOA FQDN(主DNS的名称) ADMINISTRATOR_MAILBOX ( serial number refresh retry expire na ttl ) serial numbe ...
分类:
其他好文 时间:
2018-12-19 18:39:19
阅读次数:
158
#修改加密规则alter user 'root'@'localhost' identified by '你的密码' password expire never; #更新用户密码alter user 'root'@'localhost' identified with mysql_native_pas ...
分类:
数据库 时间:
2018-12-13 19:26:37
阅读次数:
173
#修改加密规则alter user 'root'@'localhost' identified by '你的密码' password expire never; #更新用户密码alter user 'root'@'localhost' identified with mysql_native_pas ...
分类:
数据库 时间:
2018-12-13 17:45:56
阅读次数:
371
Session::init([ 'expire'=>60*60*12 ]); Session::set("token",$access_token); ...
分类:
其他好文 时间:
2018-12-08 13:25:41
阅读次数:
519