Thread: Database

Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2015
    Location
    Miami
    Posts
    6
    Plugin Contributions
    0

    Default Database

    I had a problem with my install and had to re-install the program with a different database name, I have done the import database, but the products images, shipping and other items are not set up correct. Is there a way to change the data base name to the old database? I can see in includes/config.php the database name,user and password, is this only for install? or can I just make the changes in there and the program will use that database?

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Database

    Quote Originally Posted by xrayjuan View Post
    I can see in includes/config.php the database name,user and password, is this only for install? or can I just make the changes in there and the program will use that database?
    Yes. The changes/settings in the configure.php files determine which database is to be used.

    Note: There are TWO configure.php files, one for the storefront, the other for the admin. You *MUST* change them both (and needless to say, they should both have the same information).

    Cheers
    RodG

  3. #3
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Database

    To add to RodG's answer and tie back to a question in the OP, the files are populated based on the install information (providing a version of the configure.php file applicable to the ZC version). After the initial install the associated information is what is used by ZC to operate, using whatever the files contain...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v152 How can copy some products from database to another database ?
    By dmagic in forum General Questions
    Replies: 5
    Last Post: 2 Jul 2018, 02:54 PM
  2. Manually merging 151 database customer records into a 154 database
    By jmocallghan in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 28 Feb 2015, 01:31 PM
  3. Replies: 3
    Last Post: 11 Mar 2011, 10:56 AM
  4. integrate/map new Mysql database with existing zencart database
    By omerhanif in forum General Questions
    Replies: 0
    Last Post: 18 Jan 2010, 12:36 PM
  5. Replies: 2
    Last Post: 12 Aug 2008, 05:22 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