Thread: Sharing MYSQL

Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Sharing MYSQL

    Is it possible to have two Zencart shops and only one MYSQL? If this has already been asked sorry and can you point me to that thread? Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sharing MYSQL

    Yes, you can install Zencart for the first shop, then when you install the second shop, point the installer to the first shop's database, but specify a database table prefix when asked during the installation.

    Not sure why you would want to do that, though.

  3. #3
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Sharing MYSQL

    Quote Originally Posted by stevesh View Post
    Yes, you can install Zencart for the first shop, then when you install the second shop, point the installer to the first shop's database, but specify a database table prefix when asked during the installation.

    Not sure why you would want to do that, though.
    Doing this i assume it save some server space

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sharing MYSQL

    I doubt it would save a measurable portion of server space (if it does, you will soon have problems with running out of space), and it will require more processing every time the shops look for information in the database. It would be much cleaner to use separate databases; the only reason I can think of to put them both in one db is if you don't have the ability to make more than one.

 

 

Similar Threads

  1. Two Websites Sharing the Same MYSQL Database
    By limelites in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 25 Nov 2012, 05:26 PM
  2. sharing images
    By daver1510 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Oct 2007, 08:01 PM
  3. sharing images
    By daver1510 in forum General Questions
    Replies: 0
    Last Post: 24 Oct 2007, 11:18 AM
  4. Multiple sites sharing the same MySQL database but different information
    By Cucaracha in forum Installing on a Windows Server
    Replies: 5
    Last Post: 1 Feb 2007, 01:38 PM
  5. Sharing customers.
    By scottb in forum General Questions
    Replies: 5
    Last Post: 6 Nov 2006, 06:55 PM

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