eaivazian
Forum Replies Created
-
Forum: Plugins
In reply to: [FG Joomla to WordPress] TimeoutNow I am getting this error:
SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not knownIs 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\”));
Forum: Plugins
In reply to: [FG Joomla to WordPress] TimeoutHello. 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 outI tried both, old database I used only for Joomla, and the new WordPress database with imported SQL file. Nothing helps…