Slow query logs can contain session_start () and php projects such as online. in the slow query log file, the code session_start () is always displayed, this line of code is useful in many places. now, what is the problem? how to handle it? ------ solution ------------------ slow query of log files? Is it mysql? ------ Solution ------------------ slow query log how can there be session_start (), online, etc.
In the php project, the session_start () line of code is always prompted in the slow query log file. this line of code is useful in many places.
Q: What is the problem? how can this problem be solved,
------ Solution --------------------
Slow query of log files? Is it mysql?
------ Solution --------------------
What are you talking about is checking out the session_start () on the mysql-slow.log ()??
------ Solution --------------------
Are you sure this is mysql's "slow query log "?!
If the php stack trace appears in the slow query log of mysql, it is a strange event.
--------------------------------
Based on the plug-in extension function provided by the CSDN forum, I have made a signing tool and shared it with you. we welcome Technical Exchange :)
------ Solution --------------------
Please provide the file name of your log file
------ Solution --------------------
I have never noticed this before.
It is unlikely to be in the current log generation environment
The log information can only be inferred as follows:
Dump failed storage failed
Although I do not know the echo of the script information that mysql calls when php operates mysql
However, when the session is stored in mysql, this is completely possible.
Because the scheduling process is implemented in php (only the user-defined script is called back)
Session_start will trigger this process
General Inspection
In php. ini?
Session. save_handler = files
Does the program modify this value?
Session_set_save_handler
Are related databases and tables damaged?