Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: MYSQL Import Error

    That's probably what's breaking the content of your file.
    .

    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.

  2. #2
    Join Date
    Dec 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: MYSQL Import Error

    the sql file was exported using phpmyadmin according to the guy who owns the other server just like the tutorial says. Why would notepad break the file ?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: MYSQL Import Error

    1. Using the tutorial I mentioned, if one actually follows it exactly, does an export of the specified database, not all databases in the account, and thus the CREATE DATABASE and USE statements will not be added to the exported file.

    2. Notepad, being a MS windoze native app, commonly damages files. It's a well known fact that Notepad is ill-suited for working with files used on webservers, especially if the server runs the more suitable linux operating system.
    The free Notepad++ application is much better suited to working with web files, and has the added benefit of giving you line numbers and syntax highlighting to quickly spot self-generated errors before they become problems.
    .

    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. Import Datafeed to MySQL database?
    By kirei in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Nov 2009, 10:09 PM
  2. MySQL database import error
    By xikan in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Aug 2009, 02:39 AM
  3. Unable to import MYSQL database
    By 1just4help in forum Installing on a Windows Server
    Replies: 25
    Last Post: 2 Jun 2009, 06:29 PM
  4. Error after MySQL Import
    By paults in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 27 May 2007, 05:22 AM
  5. Import Categories Description Mysql
    By cjsmiff in forum Basic Configuration
    Replies: 2
    Last Post: 16 Apr 2007, 01:26 AM

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