10 2017 档案

摘要:查看编码 SHOW VARIABLES LIKE 'character_set_%'; 依次修改like出来的字段 例如 set character_set_results=utf8; 完了修改/etc/my.cof文件 添加以下内容 编辑 /etc/my.cnf, 在里面加入,已经有[XXX]的, 阅读全文
posted @ 2017-10-15 17:23 破晓e 阅读(174) 评论(0) 推荐(0)
摘要:grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option; flush privileges; 阅读全文
posted @ 2017-10-15 16:43 破晓e 阅读(170) 评论(0) 推荐(0)
摘要:ps -ef |grep xx 阅读全文
posted @ 2017-10-15 15:18 破晓e 阅读(227) 评论(0) 推荐(0)
摘要:command & 关闭终端,程序会终止 nohup command & 关闭终端,程序不会终止 阅读全文
posted @ 2017-10-15 15:17 破晓e 阅读(192) 评论(0) 推荐(0)
摘要:import time time.strftime('%Y-%m-%d',time.localtime(time.time())) 阅读全文
posted @ 2017-10-11 09:47 破晓e 阅读(195) 评论(0) 推荐(0)
摘要:安装mysql客户端: ? 1 yum install mysql ? 1 yum install mysql ? 1 yum install mysql yum install mysql 安装mysql 服务器端: 1 2 yum install mysql-server yum install 阅读全文
posted @ 2017-10-11 09:40 破晓e 阅读(93) 评论(0) 推荐(0)
摘要:/sbin/service crond start //启动服务 /sbin/service crond stop //关闭服务 /sbin/service crond restart //重启服务 /sbin/service crond reload //重新载入配置 crontab -u //设 阅读全文
posted @ 2017-10-11 09:29 破晓e 阅读(165) 评论(0) 推荐(0)
摘要:RuntimeError: Compression requires the (missing) zlib module 缺少zlib包 解决方案 yum install zlib yum install zlib-devel 安装完成后,重新编译安装python #make make instal 阅读全文
posted @ 2017-10-03 19:52 破晓e 阅读(462) 评论(0) 推荐(0)