How to change the Database password in WordPress with PHP

1 Answer

0 votes
// Go to the wp-config.php file in the WordPress root directory (your website name)
// Edit the file Or download the file 
// Find :

/** Database password */
define( 'DB_PASSWORD', 'write your new password here' );

// Save and upload the file (if you download the file) - overwrite the old one

 



answered Jul 7, 2023 by avibootz

Related questions

1 answer 214 views
1 answer 198 views
1 answer 233 views
1 answer 496 views
2 answers 438 views
1 answer 355 views
...