Error and Exposed Credentials

Hi

I have two questions:

1) Regarding the error: the "connection refused" error is becoming increasingly frequent. Could this be related to the database management system, the number of users, or a server issue?

2) This is a new problem. When the above error appears, the database access credentials are displayed. Is there a setting I need to configure to prevent this?

Thank you very much.

  • 135
  • More
Replies (2)
    • Hello @Claudio Acosta !

      1) If your UNA DB's MySQL server works and the following details of connection from the inc/header.inc.php file haven't been changed recently (as the user and password too):

      define('BX_DATABASE_HOST', 'localhost'); ///< db host
      define('BX_DATABASE_SOCK', ''); ///< db socket
      define('BX_DATABASE_PORT', ''); ///< db port
      

      then it's better to contact with your hosting support. Sometimes it is possible that the increased traffic may be blocked by Firewall rules. For the quick test you may also change the 'localhost' to '127.0.0.1'.

      2) Yes, it's better to hide the details of the error. You may change the the true word to in the next constant from the inc/header.inc.php file to the false:

      define('BX_DB_FULL_DEBUG_MODE', true);
      
        Login or Join to comment.