Title: repeated database connection error, need help!
Last modified: September 11, 2019

---

# repeated database connection error, need help!

 *  [OTD](https://wordpress.org/support/users/otd/)
 * (@otd)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/repeated-database-connection-error-need-help/)
 * From my developer who is trying to troubleshoot repeated mysql and database connection
   errors whenever we have wisechat plugin activated. Takes the whole site down 
   repeatedly. Can anyone help? Really like the plugin but can’t keep site from 
   giving repeated 500 or database errors whenever it’s running.
 * plugins\wise-chat-pro\src\endpoints\ultra\index.php
    ask them the logic of above
   file , that file creating issue ask them why they are connecting to database 
   again here and what is code for at line #3. They have wrong logic here , no rule
   to connect database again in plugin/theme.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/repeated-database-connection-error-need-help/#post-11963964)
 * Hello [@otd](https://wordpress.org/support/users/otd/)
 * This file connects to the database directly to increase the performance of the
   chat. It checks for new messages before the whole WordPress code loads itself.
   This speeds up the chat, however, in a non-standard WordPress setup the file 
   cannot find database configuration file and this causes errors. Please go to 
   Wise Chat Advanced settings and switch the engine to the 2nd option. This engine
   is not as fast as Ultra, but it will work for you.
 * Thank you
    Marcin

Viewing 1 replies (of 1 total)

The topic ‘repeated database connection error, need help!’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/repeated-database-connection-error-need-help/#post-11963964)