how to skip duplicate records when importing in phpmyadmin

后端 未结 2 904
孤独总比滥情好
孤独总比滥情好 2020-12-09 03:49

I have a db on my local machine and I want to import the data to the db on my hosting. Both db\'s are identical, the same table names, column names

2条回答
  •  误落风尘
    2020-12-09 04:01

    In phpMyAdmin , in Settings tab, you can try checking the following values:

    • Settings -> SQL Queries -> Ignore multiple statement errors

    If you are using CSV format:

    • Settings -> Import -> CSV -> Do not abort on INSERT error

    If you are using SQL format:

    • Settings -> Export -> SQL -> Use ignore inserts

提交回复
热议问题