Title: traderstuart's Replies | WordPress.org

---

# traderstuart

  [  ](https://wordpress.org/support/users/traderstuart/)

 *   [Profile](https://wordpress.org/support/users/traderstuart/)
 *   [Topics Started](https://wordpress.org/support/users/traderstuart/topics/)
 *   [Replies Created](https://wordpress.org/support/users/traderstuart/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/traderstuart/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/traderstuart/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/traderstuart/engagements/)
 *   [Favorites](https://wordpress.org/support/users/traderstuart/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Plugin page screenshots showing short description](https://wordpress.org/support/topic/plugin-page-screenshots-showing-short-description/)
 *  Thread Starter [traderstuart](https://wordpress.org/support/users/traderstuart/)
 * (@traderstuart)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/plugin-page-screenshots-showing-short-description/#post-6586958)
 * It seems that TortoiseSVN had not uploaded the images after all. I assumed it
   had seeing that it was showing a tick for everything being up to date. I noticed
   an option to add when I right clicked on a jpg file and then after committing
   the changes the screenshots now appear.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Handling max_user_connections safely](https://wordpress.org/support/topic/handling-max_user_connections-safely/)
 *  Thread Starter [traderstuart](https://wordpress.org/support/users/traderstuart/)
 * (@traderstuart)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/handling-max_user_connections-safely/#post-3175397)
 * Ok, thanks that’s very helpful. Sorry one last clarification.
 * Does the Ajax call to the PHP script that does the DB operations count as one
   and the same process? Or does the Ajax call count as one and then the wpdb operation
   count as another one because of the MySQL operation?
 * If they count as 2 processes and max_user_connections is reached after the Ajax
   call (unlikely I know) would the PHP function simply fail to run or die gracefully
   because it cannot access/allocate the global wpdb?
 * Or have I misunderstood?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Handling max_user_connections safely](https://wordpress.org/support/topic/handling-max_user_connections-safely/)
 *  Thread Starter [traderstuart](https://wordpress.org/support/users/traderstuart/)
 * (@traderstuart)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/handling-max_user_connections-safely/#post-3175395)
 * Thanks Michael, at the moment I have the following 2 types of DB operation, that
   are triggered by a user clicking on a link or scrolling (after the page has loaded):
 *     ```
       $wpdb->insert($table_name, $data);
       $dataId = $wpdb->insert_id;
       ```
   
 * and
 *     ```
       $wpdb->update( $table_name, ... );
       ```
   
 * Can you see a problem with this?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Handling max_user_connections safely](https://wordpress.org/support/topic/handling-max_user_connections-safely/)
 *  Thread Starter [traderstuart](https://wordpress.org/support/users/traderstuart/)
 * (@traderstuart)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/handling-max_user_connections-safely/#post-3175391)
 * I wrote the plugin myself. Other people will use it so the server hardware and
   bandwidth will vary depending on what they have.
 * That’s why I want to intercept the error so that no matter what the capabilities
   of the server the plugin will not cause any problems to visitors viewing pages
   on the site.

Viewing 4 replies - 1 through 4 (of 4 total)