I can't migrate my live wordpress to a localhost

I followed this article step by step (Method 2) but its not working. What should i do?

Error Message

Fatal error : Uncaught mysqli_sql_exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond in C:\xampp\htdocs\xyz\wp-includes\wp-db.php:1656 Stack trace: #0 C:\xampp\htdocs\xyz\wp-includes\wp-db.php(1656): mysqli_real_connect(Object(mysqli), ‘sql113.byetclus…’, ‘root’, ‘’, NULL, NULL, NULL, 0) #1 C:\xampp\htdocs\xyz\wp-includes\wp-db.php(632): wpdb->db_connect() #2 C:\xampp\htdocs\xyz\wp-includes\load.php(558): wpdb->__construct(‘root’, ‘’, ‘xyz’, ‘sql113.byetclus…’) #3 C:\xampp\htdocs\xyz\wp-settings.php(124): require_wp_db() #4 C:\xampp\htdocs\xyz\wp-config.php(96): require_once(‘C:\xampp\htdocs…’) #5 C:\xampp\htdocs\xyz\wp-load.php(50): require_once(‘C:\xampp\htdocs…’) #6 C:\xampp\htdocs\xyz\wp-blog-header.php(13): require_once(‘C:\xampp\htdocs…’) #7 C:\xampp\htdocs\xyz\index.php(17): require(‘C:\xampp\htdocs…’) #8 {main} thrown in C:\xampp\htdocs\xyz\wp-includes\wp-db.php on line 1656

There has been a critical error on this website.

Learn more about troubleshooting WordPress.

Welcome @black9095!

Your site is trying to pull the files like it is in localhost (The file path is correct for Windows, not InfinityFree’s servers). You need to tell WordPress the correct location.

Try Step #5

Additionally, please do not create multiple topics on this issue. Such topics will be flagged and removed.


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