#user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event ...
分类:
其他好文 时间:
2016-06-30 20:00:44
阅读次数:
153
[client]port=3306#端口号socket=/ryzc/mysql/data/mysql.sock#sock文件路径[mysqld]port=3306socket=/ryzc/mysql/data/mysql.sock#服务端sock文件路径pid-file=/ryzc/mysql/data/localhost.pid#pid文件存放路径datadir=/ryzc/mysql/data#数据存放目录log-error=/ryzc/mysql/da..
分类:
数据库 时间:
2016-06-19 01:25:56
阅读次数:
499
#user nobody;worker_processes 1; error_log logs/static_source.error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/ngi ...
分类:
系统相关 时间:
2016-05-27 14:36:54
阅读次数:
211
错误日志errorlog服务启动关闭查询日志querylog普通查询日志generalquerylog客户端链接和SQL慢查询日志slowquerylog执行时间超出指定值二进制日志binarylog记录数据被修改的相关信息错误日志vim/etc/my.cnf[mysqld_safe]log-error=/data/3306/mysql_oldboy3306.err查询日志mysq..
分类:
数据库 时间:
2016-05-23 19:18:44
阅读次数:
297
问题描述:服务器重启之后,服务器也正常运行,发现网站访问不了,后来查看nginx错误日志(/var/log/nginx/error.log)2016/05/1310:47:32[error]7688#0:*8connect()failed(111:Connectionrefused)whileconnectingtoupstream,client:****.****.****.33,server:,request:"GETurl..
分类:
其他好文 时间:
2016-05-13 15:22:02
阅读次数:
5137
nginx相同域名不用tomcat端口nginx.conf配置如下:Java代码#usernobody;worker_processes1;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;events{worker_connections1024;}http{includemime.types;default_typeap..
分类:
其他好文 时间:
2016-05-13 05:19:51
阅读次数:
212
Html代码 #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx. ...
分类:
其他好文 时间:
2016-05-05 12:47:31
阅读次数:
206
http://www.cnblogs.com/kuyuecs/archive/2012/07/12/2588025.htmluserwwwwww;worker_processes2;#error_loglogs/error.log;#error_loglogs/error.lognotice;#error_loglogs/error.loginfo;#pidlogs/nginx.pid;events{useepoll;worker_connections65535;}http{includemime.type..
分类:
其他好文 时间:
2016-04-27 07:07:29
阅读次数:
222
01、error_log --log-error=<file_name> 02、general_log --general-log-file=<file_name> --general-log=[on | off ] 是否启动general-log 03、slow_query_log --slow- ...
分类:
数据库 时间:
2016-04-20 13:19:21
阅读次数:
186
grantallondatabasename.tablenameto‘username‘@‘xxx.xxx.xxx.xxx‘identifiedby‘complexpassword‘;grantallondiscuz.*to‘username‘@‘xxx.xxx.xxx.%‘identifiedby‘complexpassword‘;grantallondiscuz.*to‘username‘@‘%‘identifiedby‘complexpassword‘;flushprivileges;showproce..
分类:
数据库 时间:
2016-04-14 12:29:32
阅读次数:
399