上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 123 下一页
摘要: http://www.laruence.com/2011/06/23/2057.html https://github.com/laruence PHP开发组成员, Zend兼职顾问, PHP7核心开发者, Yaf, Yar, Yac等项目作者 阅读全文
posted @ 2016-06-28 22:50 zengkefu 阅读(298) 评论(0) 推荐(0)
摘要: mysqldb下载: http://sourceforge.net/projects/mysql-python/ https://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/ http://mysql-python.s 阅读全文
posted @ 2016-06-28 20:55 zengkefu 阅读(1838) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-8487640-id-3183185.html MySQLdb是Python连接MySQL的模块,下面介绍一下源码方式安装MySQLdb: 首先要下载下载:请到官方网站http://sourceforge.net/projects/mysq 阅读全文
posted @ 2016-06-28 19:50 zengkefu 阅读(584) 评论(0) 推荐(0)
摘要: 1. pip使用详解 1.1 pip安装包 1.2 pip查看已安装的包 1.3 pip检查哪些包需要更新 1.4 pip升级包 1.5 pip卸载包 [root@localhost ~]# pip uninstall redis Uninstalling redis: /usr/local/lib 阅读全文
posted @ 2016-06-28 19:11 zengkefu 阅读(25733) 评论(0) 推荐(0)
摘要: 杨奇龙: http://blog.itpub.net/22664653/viewspace-767265/ http://blog.itpub.net/22664653/viewspace-767266/ 这个不准: http://blog.chinaunix.net/uid-10661836-id 阅读全文
posted @ 2016-06-28 17:27 zengkefu 阅读(6381) 评论(0) 推荐(0)
摘要: 原文来源:MySQL 5.5 Reference Manual 部分翻译取自:《MySQL_5.1中文参考手册》 转载请注明原文链接http://www.cnblogs.com/lenagt/archive/2012/06/06/2538240.html 谢谢。 Show global status 阅读全文
posted @ 2016-06-28 17:26 zengkefu 阅读(541) 评论(0) 推荐(0)
摘要: 查看LINUX发行商版本:[root@server-mysql ~]# cat /etc/issue Red Hat Enterprise Linux Server release 6.3 (Santiago) [root@server-mysql ~]# lsb_release -a LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics... 阅读全文
posted @ 2016-06-28 16:52 zengkefu 阅读(1411) 评论(0) 推荐(0)
摘要: 下载安装: 命令行创建及启动虚拟机1.使用qemu-img创建虚拟机镜像。虚拟机镜像用来模拟虚拟机的硬盘,在启动虚拟机之前需要创建镜像文件。 安装KVM模块.加速虚拟机 图形官理界面:virt-manager 阅读全文
posted @ 2016-06-28 15:10 zengkefu 阅读(23786) 评论(0) 推荐(3)
摘要: http://blog.chinaunix.net/uid/10661836/cid-184255-list-5.html 阅读全文
posted @ 2016-06-28 12:11 zengkefu 阅读(181) 评论(0) 推荐(0)
摘要: http://blog.chinaunix.net/uid-10661836-id-4278807.html 在MySQL5.6的Information_Schema引入新的INNODB_METRICS,此表用来监控InnoDB运行是否正常,并且该表包括很多计数器 mysql> select ver 阅读全文
posted @ 2016-06-28 12:08 zengkefu 阅读(2843) 评论(0) 推荐(0)
摘要: http://www.orczhou.com/index.php/2012/11/mysql-source-code-data-structure-about-index/ 本文将尝试介绍MySQL索引存储相关的数据结构。程序=数据结构+算法,了解数据结构,然后就可以进一步了解MySQL源码中如何使 阅读全文
posted @ 2016-06-27 22:40 zengkefu 阅读(906) 评论(0) 推荐(0)
摘要: create table t( a int(11) not null auto_increment,b char(3) default null,primary key(a)); mysql> select * from t; +----+------+ | a | b | +----+------+ | 1 | aaa | | 2 | bbb | | 3 | ccc |... 阅读全文
posted @ 2016-06-27 17:36 zengkefu 阅读(2282) 评论(0) 推荐(0)
摘要: win7可以设定每周从哪一天开始,win2003等不能方便的修改。有的是周日开始,有的是周一开始。而工作中有的时候每周是从周六开始算的,有些数据需要按周统计,那么那种方式比较好呢? 通过下面的研究,认为yearweek()是适合的,它返回的是 201311这样的格式。若要把周六当做新的一周的开始,那 阅读全文
posted @ 2016-06-27 10:38 zengkefu 阅读(3136) 评论(0) 推荐(0)
摘要: mysql> select if(2>1,100,0); +---------------+ | if(2>1,100,0) | +---------------+ | 100 | +---------------+ 1 row in set (0.22 sec) mysql> select ifnull(null,100); +------------------+... 阅读全文
posted @ 2016-06-27 10:19 zengkefu 阅读(305) 评论(0) 推荐(0)
摘要: floor 与 ceiling 阅读全文
posted @ 2016-06-27 10:12 zengkefu 阅读(284) 评论(0) 推荐(0)
摘要: mysql> select ascii("w"); +------------+ | ascii("w") | +------------+ | 119 | +------------+ 1 row in set (0.00 sec) mysql> select char(119); +-----------+ | char(119) | +-----------+ | w ... 阅读全文
posted @ 2016-06-27 09:59 zengkefu 阅读(206) 评论(0) 推荐(0)
摘要: mysql> select sysdate();+ +| sysdate() |+ +| 2016-06-26 18:49:15 |+ +1 row in set (0.00 sec) mysql> select date_add("2012-4-5",interval 1 second);+ +| 阅读全文
posted @ 2016-06-27 09:49 zengkefu 阅读(307) 评论(0) 推荐(0)
摘要: mysql> create table t(a bit(4)); Query OK, 0 rows affected (0.04 sec) mysql> insert into t select b'1000'; Query OK, 1 row affected (0.18 sec) Records 阅读全文
posted @ 2016-06-27 01:27 zengkefu 阅读(176) 评论(0) 推荐(0)
摘要: BINARY(n) ,varBINARY(n): N代表字节数 utf8:mysql> CREATE TABLE t (c BINARY(3)); Query OK, 0 rows affected (0.04 sec) mysql> INSERT INTO t SET c = 'a'; Query OK, 1 row affected (0.19 sec) mysql> SELECT HE... 阅读全文
posted @ 2016-06-27 01:05 zengkefu 阅读(363) 评论(0) 推荐(0)
摘要: In MySQL, DECIMAL(M,D) and NUMERIC(M,D) are the same, and both have a precision of exactly M digits. For example, a DECIMAL(18,9) column has nine digi 阅读全文
posted @ 2016-06-27 00:59 zengkefu 阅读(347) 评论(0) 推荐(0)
摘要: 自动更新修改时间: 记录首次插入时间: 阅读全文
posted @ 2016-06-27 00:28 zengkefu 阅读(2706) 评论(0) 推荐(0)
摘要: mysql> set sql_mode="NO_AUTO_VALUE_ON_ZERO"; mysql> insert into d select 0; Query OK, 1 row affected (0.19 sec) Records: 1 Duplicates: 0 Warnings: 0 mysql> select * from d; +---+ | a | +---+ |... 阅读全文
posted @ 2016-06-27 00:01 zengkefu 阅读(256) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/justfortaste/p/4119722.html 5.6.4以后时间类型(TIME,DATETIME,TIMESTAMP)支持微秒 DATETIME范围 : '1000-01-01 00:00:00.000000' to '9999-12-31 2 阅读全文
posted @ 2016-06-26 22:44 zengkefu 阅读(1089) 评论(0) 推荐(0)
摘要: http://tech.uc.cn/?p=914 CMake特点 CMake需要用户用CMake规范的语法编写CMake脚本,该语法简单易用,入门极其顺手 原生支持 C/C++/Fortran/Java 的相依性的自动分析功能,免除了程序员对代码依赖的调整,对整个开发工作帮助很大 支持 SWIG、Q 阅读全文
posted @ 2016-06-26 18:07 zengkefu 阅读(2396) 评论(0) 推荐(0)
摘要: http://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html#option_cmake_cmake_c_flags To specify your own C and C++ compiler flags, for 阅读全文
posted @ 2016-06-26 17:55 zengkefu 阅读(1612) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 123 下一页