Title: Timeout
Last modified: August 22, 2016

---

# Timeout

 *  Resolved [idlweb](https://wordpress.org/support/users/idlweb/)
 * (@idlweb)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/timeout-3/)
 * Hallo,
    I have the following exeception when i search for import. The data of
   configuration are correct as I log directly without trouble. How can risolve:
 * [fgj2wp] 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
 * Thank’s
    Maria t.
 * [https://wordpress.org/plugins/fg-joomla-to-wordpress/](https://wordpress.org/plugins/fg-joomla-to-wordpress/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Kerfred](https://wordpress.org/support/users/kerfred/)
 * (@kerfred)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/timeout-3/#post-5372608)
 * Please have a look at the FAQ [https://wordpress.org/plugins/fg-joomla-to-wordpress/faq/](https://wordpress.org/plugins/fg-joomla-to-wordpress/faq/):
   –
   export the Joomla database to a SQL file (with phpMyAdmin for example) – import
   this SQL file on the same database as WordPress – run the migration by using 
   WordPress database credentials (host, user, password, database) instead of the
   Joomla ones in the plugin settings.
 *  [eaivazian](https://wordpress.org/support/users/eaivazian/)
 * (@eaivazian)
 * [11 years ago](https://wordpress.org/support/topic/timeout-3/#post-5372701)
 * Hello. I have been having the same problem.
    I did export the old database to
   SQL file and then imported it on the new WordPress database. Which went fine.
   All the files are shown.
 * But when I run the migration in Import Joomla (FG), it still gives me the error
   message:
 * [fgj2wp] 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
 * I tried both, old database I used only for Joomla, and the new WordPress database
   with imported SQL file. Nothing helps…
 *  Plugin Author [Kerfred](https://wordpress.org/support/users/kerfred/)
 * (@kerfred)
 * [11 years ago](https://wordpress.org/support/topic/timeout-3/#post-5372702)
 * Please ask your system administrator. The message “Connection timed out” means
   that there is an issue on your database server.
 *  [eaivazian](https://wordpress.org/support/users/eaivazian/)
 * (@eaivazian)
 * [11 years ago](https://wordpress.org/support/topic/timeout-3/#post-5372703)
 * Now I am getting this error:
    SQLSTATE[HY000] [2002] php_network_getaddresses:
   getaddrinfo failed: Name or service not known
 * Is it still a database server?
    I asked there, but no quick response.
 * EDIT:
    I also have a warning saying the same and the location of the mistake.
   I looked up the location: this is the line that has something wrong in it, according
   to Import Joomla (FG)
 *  $joomla_db = new PDO(‘mysql:host=’ . $this->plugin_options[‘hostname’] . ‘;port
   =’ . $this->plugin_options[‘port’] . ‘;dbname=’ . $this->plugin_options[‘database’],
   $this->plugin_options[‘username’], $this->plugin_options[‘password’], array(PDO::
   MYSQL_ATTR_INIT_COMMAND => ‘SET NAMES \’UTF8\”));

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Timeout’ is closed to new replies.

 * ![](https://ps.w.org/fg-joomla-to-wordpress/assets/icon-256x256.png?rev=975975)
 * [FG Joomla to WordPress](https://wordpress.org/plugins/fg-joomla-to-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fg-joomla-to-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fg-joomla-to-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fg-joomla-to-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fg-joomla-to-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fg-joomla-to-wordpress/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [eaivazian](https://wordpress.org/support/users/eaivazian/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/timeout-3/#post-5372703)
 * Status: resolved