1、数据表存在,但查询时提示不存在 原因:默认情况下,mysql在windows对表名大小不敏感(lower_case_table_names=1),在linux上大小敏感(lower_case_table_names=0)。 解决办法:对配置文件/etc/my.cnf添加配置项 2、navicat ...
分类:
数据库 时间:
2016-10-04 18:31:13
阅读次数:
170
解决办法是在 nginx 配置文件的 http 段中增加如下配置: 原文:http://www.vpsee.com/2015/02/nginx-could-not-build-the-server_names_hash/ ...
分类:
其他好文 时间:
2016-09-27 11:25:01
阅读次数:
121
第1节:不可变对象、不可变类;避免多次声明 4. Variable names must be in mixed case starting with lower case. 4. 变量名必须混合大小写且以小写字母开头 例如:line, savingsAccount How to make a cl ...
分类:
编程语言 时间:
2016-09-24 17:27:22
阅读次数:
145
插入中文就报错: Incorrectstringvalue:'\xE7\x8F\xBD\xE7\x8F\xBA'forcolumn'name'atrow1 用set names utf8或者 gb2312有时可以插入,但是是乱码,怎么回事? 【解决方法】 这是因为在创建数据库的时候编码选择的不对,用... ...
分类:
数据库 时间:
2016-09-23 23:26:03
阅读次数:
261
最近在学习python,使用过程中有个List和dict的声明比较特殊,在此备注下 字典是可变对象,初始化一定不能放在for循环前面 List声明必须放在程序开头(按道理List也是可变对象,但不知道为什么一定要在刚开始时就声明) 代码中如果names=[]放在for循环里面, 其names.app ...
分类:
编程语言 时间:
2016-09-23 16:39:00
阅读次数:
139
netstat -anp -a, --all, --listening display all sockets (default: connected) -n, --numeric don't resolve names -p, --programs display PID/Program name ...
分类:
系统相关 时间:
2016-09-21 19:58:48
阅读次数:
192
分别填写下面三行代码解决问题 CHARACTER SET 'utf8' COLLATE 'utf8_general_ci' ENGINE=InnoDB DEFAULT CHARSET=utf8 $conn->query("set NAMES utf8"); ...
分类:
数据库 时间:
2016-09-20 13:45:41
阅读次数:
121
[Names]name0=my ubuntu Darkcount=1[my ubuntu Dark]text=80ff80cyan(bold)=34e2e2text(bold)=839496magenta=75507bgreen=4e9a06green(bold)=8ae234background= ...
分类:
系统相关 时间:
2016-09-19 22:19:12
阅读次数:
169
php.net References in PHP are a means to access the same variable content by different names. They are not like C pointers; for instance, you cannot p ...
分类:
其他好文 时间:
2016-09-13 00:05:46
阅读次数:
128
1.单目标定 1.核心步骤 (1)获得标定数据:<Images_names>, <Read images>, <Extract grid corners> 1)输入数据:源图像序列(必选)、棋盘格数量(可选)、棋盘格尺寸(必选) 2)读入图像:输入图像基名和图像扩展名 3)提取角点:对每幅图像依次执 ...
分类:
其他好文 时间:
2016-09-11 01:38:18
阅读次数:
2019