'trying to restore full wordpress database
I'm trying to restore a full wordpress database from backup and I can't figure out which database is the one I want to get credentials for in the phpmyadmin portion. I've imported the database but there are four, and I can't tell which one I should put the credentials of in the wp-content.php file? How can you tell? Thanks.
Solution 1:[1]
There is file in your Wordpress website directory named as "wp-config.php". Open the file by an editor (like: Notepad++ or Sublime) and find the line like bellow -
define( 'DB_NAME', 'dbname_wp710' );
Most provably you will find that in line number 23. Here my database name is "dbname_wp710". Now you have to find this database file in your backup and upload it to phpmyadmin.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Raihanul Hoque |
