SQLSTATE[HY000] [2002] Connection timed out


I’m looking to move servers and then convert my joomla site to a wordpress site.

I’ve set up wordpress on server2 and installed the plugin FG Joomla to WordPress.

I enter the details for the Mysqli connection on server1, however it just reports the error below.

=== START test_database 2022-09-16 10:58:46 ===
[ERROR] Couldn’t connect to the Joomla database. Please check your parameters. And be sure the WordPress server can access the Joomla database.

SQLSTATE[HY000] [2002] Connection timed out

Please read the FAQ for the solution.
=== END test_database 2022-09-16 10:59:16 ===

I checked the FAQ but there is nothing about connection timed out – any ideas how to fix this?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here