• Resolved 10785740

    (@10785740-1)


    php_network_getaddresses: getaddrinfo failed: Name or service not known

    === START test_database 2024-07-26 02:17:18 ===
    [ERROR] Couldn’t connect to the OpenCart database. Please check your parameters. And be sure the WordPress server can access the OpenCart database.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kerfred

    (@kerfred)

    Please check the database parameters. And be sure the WordPress server can access the OpenCart database.

    Plugin Author Kerfred

    (@kerfred)

    If OpenCart and WordPress are not installed on the same host, you can do this:

    • export the OpenCart 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 OpenCart ones in the plugin settings. You can find the WordPress credentials in the wp-config.php file.
    Thread Starter 10785740

    (@10785740-1)

    the database parameters are same as oc config.php setting.

    Only define(‘DB_DRIVER’, ‘mysqli’); i can not find any field to input

    WordPress server can access the OpenCart database, how?

    Thread Starter 10785740

    (@10785740-1)

    OK, i will try you suggestion

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘OpenCart database parameters Connection failed’ is closed to new replies.