How slow query log will have Session_Start ()

Source: Internet
Author: User
Tags what php
Slow query log How there will be Session_Start (), online, etc.
PHP project, I in the slow query log file, the old prompt out session_start () This line of code, this line of code in many places useful to


Now ask: What is the problem ah, how to deal with it,

------Solution--------------------
Slow query log file? Is it mysql?
------Solution--------------------
You're talking about the Mysql-slow.log. Session_Start ()??
------Solution--------------------
Can you be sure that this is the "slow query log" of MySQL?!
MySQL in the slow query log if you can appear in PHP stack trace, it is a supernatural event.


————————————————————————————————
Based on the plugin extension function provided by CSDN forum, I have made a signature file tool to share with you, welcome technical exchange:)
------Solution--------------------
Please give the filename of your log file
------Solution--------------------
I haven't noticed this before.
It is unlikely that the environment in which the current log will be produced

The following can only be inferred from the log information:
Dump failed storage failed
Although I don't know what PHP is doing when I'm working on MySQL, it echoes the script message of MySQL delivery call
But when the session is stored in MySQL, it's completely possible.
Because the scheduling process is implemented inside PHP (just callback user-defined scripts)
Session_Start will trigger this process

Should generally check
Whether the php.ini
Session.save_handler = Files

Whether this value is modified in the program

Near the Session_set_save_handler appeared

Related libraries, tables are corrupted
  • Related Article

    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.