I have a high server load due to WordPress sites. Would there be any point to hacking index.php and adding to the end:
mysql_close($wpdb->dbh);
Or is the connection already closed by WordPress somewhere, and this is not needed?
I have a high server load due to WordPress sites. Would there be any point to hacking index.php and adding to the end:
mysql_close($wpdb->dbh);
Or is the connection already closed by WordPress somewhere, and this is not needed?
No, Wordpress uses a non-persistent connection to MySQL, which is closed automatically.
This topic has been closed to new replies.