1. 错误描述1 queries executed, 0 success, 1 errors, 0 warnings查询:SELECT t.`name`, DATE_FORMAT(str_to_date('2015'), '%Y') as statisDate, ROUND(IFNULL(SUM(t.`amount`), 0), 3) AS ...错误代码: 1582
Incorrect param...
分类:
其他好文 时间:
2015-07-06 23:27:32
阅读次数:
157
错误异常模块错误处理1. 系统定义了一些二进制码,用来表示错误报告的级别: 在 /etc/php5/apache2/php.ini中修改php配置文件,其中display_errors默认为Off,设置为On可以开启PHP输出错误报告功能,在开发时会比较方便,但是在发布时最好关掉,因为会过多泄露网站...
分类:
Web程序 时间:
2015-07-05 18:16:10
阅读次数:
145
1. 错误描述GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY ".";1 queries executed, 0 success, 1 errors, 0 warnings查询:grant all privileges on *.* to root@"%" identified by "."错误代码: 1045
Access denied...
分类:
数据库 时间:
2015-07-05 12:31:38
阅读次数:
205
1.创建自己的404.html页面;2.更改nginx.conf在http定义区域加入:/etc/nginx# vim nginx.conf 下添加 fastcgi_intercept_errors on; http{ ...... fastcgi_intercept_errors o...
分类:
系统相关 时间:
2015-07-04 06:14:45
阅读次数:
172
错误描述
1 queries executed, 0 success, 1 errors, 0 warnings
查询:call analyse_use(‘20150501’,’20150601’)错误代码: 1449
The user specified as a definer (‘root’@’%’) does not exist执行耗时 : 0 sec
传送时间 : 0 sec...
分类:
其他好文 时间:
2015-07-03 16:00:39
阅读次数:
131
1. 将错误记录到指定的文件中,配置过程如下
* 1). log_errors=on
* 2). error_log=/tmp/php_error.log
1.使用error_log()函数记录错误日志
error_log(‘要记录的错误信息!’);
header('content-type:text/html; charset=utf-8');
//开启所有的错误报告
er...
分类:
Web程序 时间:
2015-07-03 10:39:56
阅读次数:
180
location ^~ /zenghui { root /www_root; proxy_intercept_errors on; error_page 404 = @error_page_404; error_page 403 = ...
分类:
其他好文 时间:
2015-07-01 15:25:55
阅读次数:
124
cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR)project("ProjName")// 不推荐使用add_definitions来设置编译选项,作用如同cmake -D
add_definitions(
-std=c++11 # Or -std=c++0x
-Wall
-Wfatal-errors
# Other...
分类:
其他好文 时间:
2015-06-29 20:34:25
阅读次数:
140
Eclipse
Referenced file contains errors (http://cxf.apache.org/schemas/jaxws.xsd). For more information, right click on the
message in the Problems View and select "Show Details..."...
分类:
编程语言 时间:
2015-06-29 17:50:16
阅读次数:
473
环境:linux,mysql5.5.21错误:Host is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'原因: 同一个ip在短时间内产生太多(超过mysql数据库max_conne....
分类:
数据库 时间:
2015-06-27 11:22:52
阅读次数:
142