
数据库
梦醒人醉
这个作者很懒,什么都没留下…
展开
-
redis命令操作总结
一、key pattern 查询相应的key (1)redis允许模糊查询key 有3个通配符 *、?、[] (2)randomkey:返回随机key (3)type key:返回key存储的类型 (4)exists key:判断某个key是否存在 (5)del key:删除key (6)rename key newkey:改名 (7)renamenx key newkey:...转载 2018-05-16 14:32:52 · 190 阅读 · 0 评论 -
centos7 安装 python3 mysqlclient 小记
使用centos7安装python3,在安装 mysqlclient的时候报错 /bin/sh mysql_config not found 因为需要安装 mariadb-devel ,之后再报错error: command 'gcc' failed with exit status 1,缺乏 gcc。之后还是报错,因为 还是未安装 python36u-devel 所以正确的安装应该是装完 yum...转载 2018-05-10 11:25:48 · 3253 阅读 · 0 评论