Cheat Engine

The Underground Site of Cheat Engine

    Alternate unclosed sqls fix


    Alternate unclosed sqls fix Empty 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:

    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 Thu May 23, 2019 1:55 pm