Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Posts
    33
    Plugin Contributions
    0

    Default installing zencart on my macbook pro

    I want to install zencart locally so I can test before I put it live. What is the best program to install a mysql server on my macbook pro?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: installing zencart on my macbook pro

    Use one of the MAMP packages like the one HERE
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2005
    Posts
    41
    Plugin Contributions
    0

    Default Re: installing zencart on my macbook pro

    I'm in the same boat. Wanting to put a clone of my site on my MBP and use it as staging server.

    I knew OS X comes with Apache and PHP pre-installed, so I just use that (all you have to do is edit the config file at /etc/httpd/httpd.conf). Then I installed MySQL. The most obvious source to me was mysql.com and so I got it from here:
    http://dev.mysql.com/downloads/mysql...tml#macosx-dmg

    Then I also d/led 2 admin tools:
    Navicat from http://www.navicat.com/download.html
    and MySQL's own from http://dev.mysql.com/downloads/gui-tools/5.0.html

    The cart seems to run fine on this setup. I sailed smoothly through the install process and now I want to restore the database that I had backed up from my live server. I had created a database dump as described here:
    https://www.zen-cart.com/tutorials/i...hp?article=100
    https://www.zen-cart.com/tutorials/i...hp?article=103
    and ended up with a file MyDatabase.sql

    How can I restore it?

    phpmyadmin is apparently not included in Apple's PHP installation, so I tried to use one of the admin tools to restore the database from the backup file. The MySQL.com Administrator, for example, connects to the database fine and seems to recognize the file (allows me to select it), but then just gives "MySQL error while restoring backup:" The colon seems to indicate that there should be sth more, but there isn't.

    I don't really want to install another xAMP package as I'm short on HD space and would prefer not to have duplicate installations on my system. What to do?

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,286
    Plugin Contributions
    125

    Default Re: installing zencart on my macbook pro

    dude_s, can you just restore it from the command line?

    mysql -u<userid> <database_name> < MyDatabase.sql

    You would need to create the database first - i.e.

    mysql -uuserid
    create database <dbname>;

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Problems Installing Paypal Pro
    By cwdg in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 21 Nov 2014, 08:20 PM
  2. Installing onto local machine - windows XP pro
    By davidevans1 in forum Installing on a Windows Server
    Replies: 7
    Last Post: 4 Jun 2008, 06:57 AM
  3. Installing Zen to replace CRE Pro Loaded
    By SaMortensen in forum Installing on a Windows Server
    Replies: 5
    Last Post: 22 Jan 2008, 03:24 PM
  4. Final Steps for Installing Payflow Pro
    By kimberlyeddy in forum Addon Payment Modules
    Replies: 1
    Last Post: 15 Sep 2006, 08:10 PM

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