Hello, I just installed a webcloud database to host my site in addition to the classic hosting.
There are inconsistencies regarding the operation of this new database.
1 - On the OVH site, on the hosting page, there is no web cloud database mentioned, so I cannot attach it or detach it.
2 – When changing the config.php file, if the data is incorrect, the site still works normally, but there is no connection to the WordPress admin. If the file is missing, the site does not work!
3 - What are the exact credentials to insert into this file, because despite the changes, I still can't log into my WordPress admin (the page shows: database connection error).
It doesn’t appear on your hosting page because a Web Cloud Database is a separate service. It isn’t automatically linked to a specific hosting, so you won’t see it in the ‘Hostings’ section. To manage it, you need to go to the dedicated Web Cloud Databases section in your client area. From there you can manage users, authorize IPs, and view the credentials.
The site works but the admin doesn’t This usually happens when the connection details in wp-config.php aren’t completely correct. The site loads because it may be using a cache or an object cache that still has old data, but the admin can’t run without a stable database connection.
The site doesn’t work if wp-config.php is missing That’s normal; that file contains the database configuration. Without it, WordPress doesn’t know how to connect to the database
You need to verify these four values in wp-config.php:
DB_HOST: The server address and port. Don’t use the typical localhost. The address is usually something like mysql-XXXXXXXX.database.cloud.ovh.us and the port is a specific number. Find these details in the “General Information” section of your Web Cloud Database in the client area.
DB_NAME: The exact name of the database.
DB_USER: The username you created for this database.
DB_PASSWORD: The password for that user.
If everything is correct, the connection should be established and you’ll be able to access your WordPress admin without issues.
I still can’t get it… my neurons are boiling. I’m taking a break!
4. DB_HOST : Server address and port. Do not use the traditional localhost. The address usually looks like mysql-XXXXXXXX.database.cloud.ovh.us and the port is a specific number. Find this information in the “General Information” section of your Web Cloud Database, in your client area.
How to add the port with the server address??? mysql-XXXXXXXX.database.cloud.ovh.us(and directly the port )? or mysql-XXXXXXXX.database.cloud.ovh.usport....