I am trying to migrate WordPress website to the local machine. I am using XAMPP. After downloading db from hosting provider, I have imported the db to a new db created in phpmyadmin and also downloaded the codebase for WordPress. Now I am unable to connect to db. I have provided db login and password mentioned on the live site as well as users added in phpmyadmin into the wp-config.php. The local users have been granted access to the database. But still I am getting error establishing the connection with the db. Any suggestions.

  • Its a bit hard you help without details. Whats your config file whats the error May 20 at 6:33
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    May 20 at 6:33


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.