Slow query log how session_start ()

Source: Internet
Author: User
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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.