摘要:git clone https://xxx@bitbucket.org/.git git status git diff git st . git pull git commit -a -m "add telecom css and res" git push -u origin master gi
阅读全文
摘要:1,php操作redis function updateRedisCount($key, $count) { $redis = new Redis(); $rcon = $redis->pconnect(REDIS_HOST, REDIS_PORT_3); if ($rcon) { if (!$re
阅读全文
摘要:常用操作 1,防火墙 firewall-cmd --permanent --add-port=5432/tcp firewall-cmd --permanent --add-port=80/tcp firewall-cmd --reload 2,共享盘失效 sudo service smbd res
阅读全文
摘要:mysql表操作 1,//创建表 mysql>Create table usertest(id int(12) primary key not null auto_increment,url varchar(34) not null); 2,//改表名 mysql>Alter table usert
阅读全文
摘要:一,widows下 1、首先检查mysql服务是否启动,若已启动则先将其停止服务,可在开始菜单的运行,使用命令: 开始->菜单->cmd->net stop mysql打开第一个cmd1窗口,切换到mysql的bin目录。切换方法:首先找到mysql目录,我的目录是C:\Program Files
阅读全文
摘要:转自脚本之家 本篇文章是对SQL中的四种连接-左外连接、右外连接、内连接、全连接进行了详细的分析介绍,需要的朋友参考下 1、内联接(典型的联接运算,使用像 = 或 <> 之类的比较运算符)。包括相等联接和自然联接。 内联接使用比较运算符根据每个表共有的列的值匹配两个表中的行。例如,检索 studen
阅读全文
摘要:一,mysql的inet_aton:ip->num,inet_ntoa:number->ip. 1,创建表 CREATE TABLE iplog ( ip int(10) unsigned DEFAULT NULL, name char(10) DEFAULT NULL) 2,插入ip insert
阅读全文