Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Resolve an error following a Web password change
This guide explains why a website may be "broken" or stop displaying anything, following a password change at the level of a Web Hosting.
Broken link with the database
When your website, and more specifically 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 display, such as:
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 was your last action?
In case an error occurs 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 altered, modified, or moved?
Sometimes, the unintentional insertion of a space before or after a word can sever the connection between the web server and the database server. Go back over your file modifications.
If necessary, restore an older version of the files that you recently modified.
- … an action involving 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, you also need to report/replicate it in the script's configuration file by connecting via FTP and going to modify the appropriate file, typically "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: