Configure wordpress site in Xampp

1

I'm very lost in the configuration of a Wordpress site in Xampp. What I did:

  • Site Backup;
  • Import into the htdocs folder;
  • Creating the "one" database in phpmyadmin .

However, I did not create this site, so I'm having difficulty setting up. I wanted to know what setting I should do in wp-config.php , because every time I go to index through localhost it returns as:

  

"Error connecting to the database"

    
asked by anonymous 23.05.2017 / 23:59

1 answer

0

I think an initial guideline could be:

  • Export current site database (dump)
  • Copy files from the current site
  • Installing Xampp
  • Playing files in the htdocs folder
  • Import database via PHPMyAdmin
  • Change wp-config.php file to put your Xampp infos (Add the WP_HOME and WP_SITEURL constants to point to your localhost)
  • References: link and link

        
    27.05.2017 / 16:24