Mysql has four types of logs: ErrorLog, GenaralQueryLog, BinaryLog, and SlowQueryLog ** 1. ErrorLog records the Error, Warning, and Note information during Mysql running, you can view the Error log if a system Error occurs or a record has a problem. By default, the Mysql error log is hostname. err is stored in the log directory of Mysql. you can view it using the following statement: mysql & amp ;... mysql has four types of logs: Error Log, Genaral Query Log, Binary Log, and Slow Query Log ** 1. Error Log records information such as Error, Warning, and Note during Mysql running, you can view the Error log if a system Error occurs or a record has a problem. By default, the Mysql error log is hostname. err is stored in the Mysql log Directory. you can view the following statements: mysql> show variables like "log_error"; + --------------- + ---------------- + | Variable_name | Value & nbs
1. details four types of logs in Mysql
Introduction: using nginx Reverse proxy tomcat service this experiment requires the nginx service and tomcat service. {I will not discuss how to install it.} environment: 1. centos6.5 2. disable iptables and selinux. all service startup ideas: Use the nginx configuration file to specify the corresponding service. Nginx. conf configuration content: # user nobody; worker_processes 2; # error_log logs/error. lo
9. The nginx/146 virtual host access prompt "File not found" c9 Continental not found file 404 not found 404 not found fix
Introduction: file not found: the "File not found" prompt is displayed for access to the virtual host configured in nginx/146: view the log tail/var/log/nginx/error. log, prompting "primary script unknown while reading response header from upstream" to view part of the configuration file of this VM: location ~ . Php {# fastcgi_pass remote_php_ip: 9000; fastcgi_pass uni
10. nginx ignores the faviconico log favicon. ico 404 online favicon 1 htm disease
Introduction: favicon, iconic: nginx ignores faviconico logs: Note: favicon. ico occupies a large amount of information in nginx error_log logs, and overwrites the logs we actually need to view. Therefore, we disable log_not_found off. Implementation: // put the following configuration into the server {} block and disable logging location =/favicon. ico {log_not_found off; access_log off;}/log_no when favicon. ico does not exist
[Related Q & A recommendations ]:
Php error_log prompt file does not exist
The android-android project suddenly fails to generate an apk. how can this problem be solved?
CLI has stop When php pthreads uses mutex
Python-how does one solve C ++ runtime error R6034 on the apache server?
Php-uploading batch images to Qiniu and S3 at the same time. S3 is okay. Qiniu often times out and solves the problem.
The above is the details recommended by the php error_log () function article. For more information, see other related articles in the first PHP community!