<p>When a database connection error occurs, the following error message is displayed:</p> <p><img src="/upload/learning/12/res83/k9Uyc.o1n7Y.kRr30.db_error_report.png" width="377" height="44"></p> <p>The visual aspect of the message is defined by the contents of the file <b>/bitrix/php_interface/dbconn_error.php</b>:</p> <pre class="syntax"><br> <table cellpadding="1" cellspacing="0" width="35%" bgcolor="#9C9A9C"> <tr> <td> <table cellpadding="5" cellspacing="0" width="100%"> <tr> <td bgcolor="#FFFFFF" align="center"> <FONT face="Verdana, Arial, Helvetica, sans-serif" size="-1"> <font color="#FF0000"><b><?echo "Error connecting to database."?></b></font><br> Please try again.</font></td> </tr> </table> </td> </tr> </table> <br><br><br></pre> <p>To resolve the problem, do the following:</p> <ul> <li>check the database connection parameters (in <b>/bitrix/php_interface/dbconn.php</b>); <li>check whether the database is accessible.</li> </ul> <!--<p>In particular, <a href="http://www.mysql.ru/download/" target="_blank">MySQLGUI</a> may be used in order to check the availability of the database.</p>-->