1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

1062 Error while importing SQL data from old website to a new website.

Discussion in 'Databases' started by ksbharath86, Nov 3, 2013.

  1. #1
    Hello Guys,

    Here I come with a new problem.

    I have a old domain latest-autoreviews.info and my new domain cforcars.com

    I am moving all of my contents from old domain to new domains, and redirecting my old domain to new domain.

    I have exported the sql database of my old domain, and while I am trying to upload it to the new domain I am getting the error as said below

    As I am not able to paste the error here Please find the attachment containing the error.

    Can you guys please help me in resolving this issue for me. both the domains are hosted on the same a hosting accoutn @ hostgator (linux)
     

    Attached Files:

    ksbharath86, Nov 3, 2013 IP
  2. sandeepdude

    sandeepdude Well-Known Member

    Messages:
    1,741
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    sandeepdude, Nov 3, 2013 IP
  3. ksbharath86

    ksbharath86 Active Member

    Messages:
    121
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    66
    #3
    I am sorry I don't konw how to do it. can you guide me step by step
     
    ksbharath86, Nov 3, 2013 IP
  4. pmf123

    pmf123 Notable Member

    Messages:
    1,447
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    215
    #4
    you probably have a column in your old table with an ID or something, that is set to auto increment on the new table, and that is where the dupe is coming from on import
     
    pmf123, Nov 20, 2013 IP
  5. khodem

    khodem Well-Known Member

    Messages:
    206
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    120
    #5
    I think you have tried loading this data many times all you need to do is at the moment is run bellow command and start dumping data again to check it:

    truncate table wp_cbnetpo_ping_optimizer;

    hope it works
     
    khodem, Dec 8, 2013 IP
  6. junedc

    junedc Active Member

    Messages:
    175
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    or "delete from wp_cbnetpo_ping_optimizer"
     
    junedc, Dec 13, 2013 IP