Need suggestions for "Unclosed Quote" errors on mysql import

Discussion in 'MySQL' started by chartwell, Sep 15, 2007.

  1. #1
    I'm moving some sites to a new server, and using phpmyadmin to export the mysql db's. I've tried a bunch of different settings and searched all over for answers... I keep getting unclosed quote errors when I try to import the databases into phpmyadmin on the new server.

    Ex.

    ERROR: Unclosed quote @ 272
    STR: '

    It's probably obvious already, but I don't know much about mysql...:confused:

    Thanks in advance.
     
    chartwell, Sep 15, 2007 IP
  2. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    in what format did you export your db?
     
    litebulb1, Sep 15, 2007 IP
  3. chartwell

    chartwell Member

    Messages:
    31
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    in .sql format.

    I tried many different settings, and never could get rid of the unclosed quote errors in phpmyadmin.

    In ended up exporting them with a tool called SQLyog, and they imported fine after that.
     
    chartwell, Sep 16, 2007 IP
  4. Aron Schatz

    Aron Schatz Peon

    Messages:
    201
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Maybe phpMyAdmin wasn't escaping the quotes properly. It is an option in the dump.
     
    Aron Schatz, Sep 17, 2007 IP
  5. chartwell

    chartwell Member

    Messages:
    31
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #5
    I tried a lot of different options exporting and importing. The only thing that worked was downloading an external db client like SQLyog.

    Then I still kept having problems with the db's on the new host, so I gave up altogether moving the sites. I'll try again some other time.
     
    chartwell, Sep 30, 2007 IP
  6. lackattack

    lackattack Peon

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    how did you export them with SQLyog?
     
    lackattack, Feb 19, 2009 IP