Page 207 - wordpress_tutorial_Neat
P. 207

WordPress
Step (3): Then, go to your wordpress folder --> wp-config.php file. Copy and
rename wp-config.php file before editing, in case of some mistake you can restore this
file back.
Open the wp-config.php file and locate the following code.

 define('DB_NAME', 'db_name');

Replace the db_name with your database name which you have created.

 define('DB_USER', 'db_user');

Replace the db_user with your username of MySql.

 define('DB_PASSWORD', 'db_password');

Replace the db_password with your password of MySql.
Save your wp-config file after editing and upload it to your WordPress site through ftp.

Restoring WordPress Database

Following are the steps used to restore the database in WordPress:
Step (1): Type the path http://localhost/phpmyadmin in the browser. The following
screen will pop up.

You can create a new database or import your backup in the existing database. Here we'll
create a new database name, i.e., new_wordpress and click on Create button

                                                                                                                                   201
   202   203   204   205   206   207   208   209   210   211   212