Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default phpMyAdmin/mySQL data export problem

    I've exported data (a .sql file) from a mySQL database (version 5.0.24) using phpMyAdmin (version 2.10.2) on my web server.

    I'm trying to import this data into another mySQL database (version 5.0.37) on another server, using phpMyAdmin (version2.10.0.2).

    I used these instructions when exporting: http://www.zen-cart.com/wiki/index.p..._Remote_Server


    I get this error when I run the import:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Cart, 'http://www.zen-cart.com', banners/zencart_468_60_02.gif, Wide-Banners, ''' at line 2

    I've figured out that I need to have single-quotes around some parameters like Zen Cart, the image path & name, and the 0 after the date/time:

    ('1', Zen Cart, 'http://www.zen-cart.com', banners/zencart_468_60_02.gif, Wide-Banners, '', '0', NULL, NULL, '2004-01-11 20:59:12', '2007-05-19 16:12:35', 0, '1', '1', '0'),

    With quotes:

    ('1', 'Zen Cart', 'http://www.zen-cart.com', 'banners/zencart_468_60_02.gif', 'Wide-Banners', '', '0', NULL, NULL, '2004-01-11 20:59:12', '2007-05-19 16:12:35', '0', '1', '1', '0'),

    Here is my problem: this issue exists throughout the entire .sql file. Why phpmyadmin exporting the data with these errors? And how can I fix it for an entire database or sql file? Thanks in advance.

  2. #2
    Join Date
    Jul 2007
    Posts
    172
    Plugin Contributions
    0

    Default Re: phpMyAdmin/mySQL data export problem

    Anyone out there who can help?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: phpMyAdmin/mySQL data export problem

    As far as I know that's not a normal thing for phpMyAdmin to do.

    I'd be talking to your hosting company tech support to find out why it's not working properly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Formating the export data from mysql in excel
    By ninobalducci2 in forum General Questions
    Replies: 0
    Last Post: 8 Feb 2012, 08:30 AM
  2. Unable to correctly export/import zen cart MySQL data file
    By gamenano in forum General Questions
    Replies: 0
    Last Post: 14 Oct 2010, 04:02 AM
  3. export / import Db using phpmyadmin
    By ttfan in forum General Questions
    Replies: 2
    Last Post: 24 Aug 2010, 01:31 PM
  4. Export/import in phpmyadmin
    By Unicorn in forum General Questions
    Replies: 4
    Last Post: 29 Jul 2010, 12:04 PM
  5. export data base from phpmyadmin
    By p7x1oayve61pnp2 in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 23 Jun 2010, 11:18 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR