I can’t modify my DB password in wp-config.php

[ad_1]

My WordPress site is hosted by OVH. I need to modify the wp-config.php file to change the MySQL database connection password. But my wp-config.php file is almost empty, and text indications in it tell me not to modify this file, but rather to modify application.php. But in application.php, I can’t find the usual lines to modify the DB informations (as one can find on the internet on several tutorials).

​

Does anyone know what I can do ? I’m honestly totally lost…

[application.php, with CTRL+F \\”DB\\”])

[wp-config.php])

[ad_2]
4 Comments
  1. It looks like its getting the username and password from a .env file check your project for a .env file

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer