Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Location
    Halfway, Oregon
    Posts
    48
    Plugin Contributions
    0

    Localhost Installation - can't import database

    I have XAMPP running as localhost on my Windows XP Pro machine, and have successfully installed Zen Cart 1.3.5 several times with the intent to practice with things like the improved attributes controller, Image Handler, etc. I set permissions by going to the appropriate files/folders in htdocs and ticking or unticking 'read only'.

    I have been trying to import my database from my live site (Version 1.3.2) using my most recent back up copy.

    I named the database the same as the live one when I installed the localhost Zen Cart. The database imports in phpMyAdmin (localhost), but does not show up in the store.

    ../store/includes/configure.php
    ../store/admin/includes/configure.php
    both correctly state the database name.

    XAMPP has PHP Version 5.1.6; MySQL 5.0.24a-community
    Host has PHP Version 4.4.3; MySQL 4.1.21-standard
    If that makes any difference.

    I don't know what I'm doing wrong, or where to look to figure this out. This is my first experience with databases.

    Would sure appreciate a bit of direction so I can get this going.

    TIA,
    Sue

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

    Default Re: Localhost Installation - can't import database

    Do both databases use the same table-prefixes (if any)?

    If so, then you most likely have a version-conflict in your MySQL export/import process, such that the format of the export version isn't compatible with the required format for your import version. To find out, do an export of your "admin" table, from both systems, and post the results here. There will be a need to reconcile the differences.
    .

    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.

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

    Default Re: Localhost Installation - can't import database

    Hmmm ... I see you have resolved the issue in your duplicate post on the same topic:
    http://www.zen-cart.com/forum/showthread.php?p=270853
    .

    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. Can't restore database after moving from localhost
    By Annie_zaz in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Sep 2013, 11:48 AM
  2. clean installation with new mod can I import db after?
    By giuly in forum General Questions
    Replies: 2
    Last Post: 1 Feb 2009, 11:50 PM
  3. import files to database after installation
    By dereckgriffith in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 5 May 2008, 10:59 AM
  4. Localhost Installation - can't import database
    By sue4ster in forum Installing on a Windows Server
    Replies: 7
    Last Post: 3 Oct 2006, 12:08 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