skip to Main Content

I’m trying to import an online wordpress website on my local Wamp server. I exported my database from my online website, and now I’m importing it to my local server with phpmyadmin.

Then, the following error message shows up : #1050 – Table ‘wp_actionscheduler_actions’ already exists

I just created the database, it’s definitely empty. Does anyone have an idea to help me ?

Thanks in advance

2

Answers


  1. I assume you exported (in quick mode) it to an SQL file in phpMyAdmin. If I remember correctly in the custom mode, there is an option to generate an export file where all the tables have an IF NOT EXISTS suffix

    If this not the case, you can do it manualy:

    • Search in your export file for:

    CREATE TABLE `wp_actionscheduler_actions`

    • and replace is with

    CREATE TABLE IF NOT EXISTS `wp_actionscheduler_actions`

    Login or Signup to reply.
  2. Satisfy yourself that you have a good working export of the DB and before running the import routine simply drop the tables.

    It should work fine but if not let us know.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search