Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Solve an error following the change of a Web password
This guide explains why a website may be "cracked" or no longer display anything, as a result of changing a password at the level of a Web hosting.
Broken link to database
When your website and especially a script (CMS, WordPress, Prestashop or any other application using MySQL databases) is no longer able to connect to the MySQL MariaDB database or other, an error message can be displayed, of type:
Erreur lors de la connexion à la base de données
Database Error: Unable to connect to the database:Could not connect to MySQL
Link to database cannot be established
What's your last action?
In case an error occurs on your site you must always examine the recent history. In this case, has there been...
- ... an action on your part in the configuration file of the script in question? Was it affected, changed, moved?
Sometimes the involuntary insertion of a space before or after a word can cut the link between the web server and the database server. Go back to your file changes.
If necessary, deliver an old version of the files that you've changed recently.
- ... an action at the database password level in the Infomaniak Manager?
If you change your database password via the Manager Infomaniak, then your script, which will search for its information in the databases, will no longer display anything. Changing something in the Infomaniak Manager means having to change it anywhere else. This change you have made in the Manager, you also have to report it / pass it on to the script configuration file by connecting to FTP and going to modify the correct file, in principle "wp-config.php", "configuration.php" or similar.
- ... a server shift announced by Infomaniak?
If this error results from a server displacement or other operation announced by e-mail and related to the product in question, don't hesitate to contact Infomaniak support.
Link to this FAQ: