• Hi Frédéric,

    I think I might need some help for the DB connection:

    === START test_database 2020-09-23 07:16:51 ===
    [ERROR] Couldn’t connect to the PrestaShop database. Please check your parameters. And be sure the WordPress server can access the PrestaShop database.

    SQLSTATE[HY000] [2002] No such file or directory

    First I tried to import my DB directly from Prestashop to my new WordPress but it didn’t work as it is not hosted on the same server. I read the FAQ and I imported the Prestashop’s DB on my WordPress, and even after doing that, I have the same message error. Yet I’m pretty sure of all the parameters. I’m willing to pay for the premium version, but only if I can connect the DB of course.

    I hope you’ll be able to help me :s

    Best regards

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

    (@kerfred)

    Sure, no problem.
    If PrestaShop and WordPress are not installed on the same host, you must do this:
    – export the PrestaShop 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 PrestaShop ones in the plugin settings. You can find the WordPress credentials in the wp-config.php file.

    Don’t hesitate to answer if you still have any problem.

    Yes this is what I did and it sill doesn’t work.

    Plugin Author Kerfred

    (@kerfred)

    Please double check the database host, username, password and database name. It should work.
    If you still have a problem, please contact our support team at https://www.fredericgilles.net/support/ and provide the debug info that you can find in the Debug Info tab.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Connection failed to the DB’ is closed to new replies.