How to backup and restore configurations

You must export all table beginning with your WordPress prefix.

  1. Open your phpmyadmin panel.
  2. Then open your wordpress database.
  3. Click “export” from top menu.
  4. Select “Export Method:” as custom.
  5. Select your all tables beginning your prefix.
  6. Then go to bottom of page click “go”.

You got your SQL file. Move all files to new directory. If you create a new database on new host, you must change the database name on wp-config.php.

  • Then you must import your SQL file to new database.

  • Replace the old domain name with the new domain name. Go to wp_options table on your database.

  • Change siteurl option name. on second page change “home” option name with new url.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)