[resolved] Adding mysql_close($wpdb->dbh) - would there be any point to this? (2 posts)

  1. Trahald
    Posted 7 years ago #

    I have a high server load due to WordPress sites. Would there be any point to hacking index.php and adding to the end:

    Or is the connection already closed by WordPress somewhere, and this is not needed?

  2. Michael Torbert
    WordPress Virtuoso
    Posted 7 years ago #

    No, WordPress uses a non-persistent connection to MySQL, which is closed automatically.

Topic Closed

This topic has been closed to new replies.

About this Topic