Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Fixing an error after changing a web password
This guide explains why a website may be "broken" or no longer display anything, following a password change at the level of a Web Hosting.
Broken link with the database
When your website and more particularly a script (CMS, WordPress, Prestashop or any other application using MySQL databases) can no longer connect to the MySQL MariaDB or other database, an error message may be displayed, such as:
Erreur lors de la connexion à la base de donnéesDatabase Error: Unable to connect to the database:Could not connect to MySQLLink to database cannot be established
Remember your last action...
In the event of an error on your site, you should always examine the recent history. In this case, has there been...
- ... an action on your part regarding the configuration file of the script in question? Has it been touched, modified, 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 over your file modifications.
If necessary, restore an old version of the files that you have modified recently.
- ... an action regarding the database password in the Infomaniak Manager?
If you change the password of your database via the Infomaniak Manager, then your script, which retrieves its information from the databases, will no longer display anything.Changing something in the Infomaniak Manager means you have to change it everywhere else. This change that you made in the Manager must also be reported / reflected in the script's configuration file by connecting via FTP and modifying the appropriate file, usually "wp-config.php", "configuration.php" or similar.
- ... a server move announced by Infomaniak?
If this error follows a server move or another operation announced by email and related to the product in question, do not hesitate to contact Infomaniak support.
Link to this FAQ: