Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default MySQL database import error

    Hi guys

    I'm currently moving my Zen cart project to another server.
    The new server has a MySQL database.

    when i try to recreate the database (using an SQL dump), it says access denied. It seems the new database server doesn't allow schema names with the '_' character.

    If I change the schema name, will this cause an error i.e does Zen Cart make reference the schema name anywhere in its code?

    Thanks,

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: MySQL database import error

    It's likely not the "_" character, but rather that you're doing your dump wrong and thus trying to run prohibited commands during your import.

    When you take your database backup, do it *after* already selecting your database from the pulldown.
    That should stop it from putting the CREATE DATABASE and USE DATABASE commands in your sql dump file, which are prohibited by most hosts.
    Related FAQ: https://www.zen-cart.com/tutorials/i...hp?article=103
    .

    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. MYSQL Import Error
    By infowire in forum Installing on a Windows Server
    Replies: 8
    Last Post: 29 Dec 2009, 06:00 PM
  2. Import Datafeed to MySQL database?
    By kirei in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Nov 2009, 10:09 PM
  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. Dreaded mYSQL 1064 error when importing MySQL 4 database into MySQL5
    By dml311071 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2008, 05:38 AM
  5. Error after MySQL Import
    By paults in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 27 May 2007, 05:22 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