Title: Database error
Last modified: July 3, 2019

---

# Database error

 *  Resolved [apartmentsforrentx](https://wordpress.org/support/users/apartmentsforrentx/)
 * (@apartmentsforrentx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/)
 * Hi, I like your plugin because it’s the only plugin working automatically to 
   generate lightbox with selector and anti selector. However, I get database error
   from time o time from your plugin. I need help please. This is the frequent error
   message.
 * My site is : [https://apartmentsforrentx.com](https://apartmentsforrentx.com)
 * [03-Jul-2019 12:42:34 UTC] WordPress database error Lost connection to MySQL 
   server during query for query SELECT option_value FROM wp_options WHERE option_name
   = ‘mgl_infinite’ LIMIT 1 made by require_once(‘wp-load.php’), require_once(‘wp-
   config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action,
   WP_Hook->apply_filters, Meow_Lightbox_Core->init_client, get_option
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-292%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/#post-11705698)
 * Hi [@apartmentsforrentx](https://wordpress.org/support/users/apartmentsforrentx/),
 * A “Lost connection to MySQL server” is not caused by a plugin, or even by WordPress,
   it is a server issue. If you are using a good hosting service, that’s actually
   quite worrying, that should never ever happen. Have you tried contacting the 
   support of your server?
 *  Thread Starter [apartmentsforrentx](https://wordpress.org/support/users/apartmentsforrentx/)
 * (@apartmentsforrentx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/#post-11706107)
 * Hi, tnx for the response. Yeah, I’m using a good hosting service. From what I
   observed, when I deactivated the plugin. I haven’t had any database error problem.
   But, when I reactivate the plugin, there would be intermittent errors about mgl_infinite.
   Can you enlighten me what the mgl_infinite is for? Because that might fix the
   issue as there may be a conflict somewhere from the option table.
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/#post-11707436)
 * The request
 * > SELECT option_value FROM wp_options WHERE option_name = …
 * is ran every time get_option is used. The SQL query is performed by the WordPress
   core. It’s a really basic request in the WordPress core. The fact the connection
   to your SQL server breaks on this one is totally random, bad luck basically, 
   and it could happen on any other request (earlier or later). I don’t think you
   can fix this by yourself; it sounds really like a server issue. That should really
   not happen, especially with good hosting service and you should ask for an explanation
   about it.
 *  Thread Starter [apartmentsforrentx](https://wordpress.org/support/users/apartmentsforrentx/)
 * (@apartmentsforrentx)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/#post-11707638)
 * Ok. Noted. Thanks.

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

The topic ‘Database error’ is closed to new replies.

 * ![](https://ps.w.org/meow-lightbox/assets/icon-256x256.gif?rev=3004933)
 * [Meow Lightbox](https://wordpress.org/plugins/meow-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/meow-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/meow-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/meow-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/meow-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/meow-lightbox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [apartmentsforrentx](https://wordpress.org/support/users/apartmentsforrentx/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/database-error-292/#post-11707638)
 * Status: resolved