How can i create backup of my site

for example, abc.com to localhost ? right?

i followed your guide and after setting up database when i go to install wordpress on it it says Error establishing a database connection

Yes, you need to change the credentials in the wp-config.php file.

which credentials should i replace?

You new localhost database credentials. You would’ve created them right?

i was to create them but it showed me database error in the browser

You need to do it from the WP-config.php file

but what credentials should i replace there??

The new database name, username, password. And change the hostname to localhost

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.