Cheat Engine

The Underground Site of Cheat Engine


    Alternate unclosed sqls fix

    Share

    HAXNX
    Guest

    Alternate unclosed sqls fix

    Post  HAXNX on Thu May 21, 2009 2:07 am

    This should help the server performance by killing off the massive on-going and useless mysql connections caused by unclosed connections.

    Go open you my.ini config file for your mysql database, and find and/or add this:
    Code:

    wait_timeout = 600

    The time is in seconds. This closes off any connections that stays connected for over 10 minutes (600 seconds).

    Note that this is a horrible way but easy because it forces the connections to close. Closing the connections within the code is much better.

      Current date/time is Tue Dec 11, 2018 6:33 pm