Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Updating the MYSQL

    Greetings all:

    I am currently running a shop on my webspace called "Store", it is using the database "Zencart", while this is still running, i have installed the new Zencart on another directory called "Shop" and it is using the database "Store".

    What i want to know is if i can export the MYSQL files from PHPAdmin and import them in the new Database.

    If i can which files do i need to export for things like;

    Customers, Orders, Categories, Product, Product codes, etc.

    The old version is: 1.2.5

    The new Version is: 1.3.5

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Updating the MYSQL

    export the whole thing

    import the whole thing

    run zc_install and choose database-upgrade to bring the database structure up-to-date
    .

    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
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Updating the MYSQL

    Quote Originally Posted by DrByte
    export the whole thing

    import the whole thing

    run zc_install and choose database-upgrade to bring the database structure up-to-date
    Thanks, worked like a charm...

  4. #4
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Updating the MYSQL

    Crap, spoke too soon....

    I am getting this error when i am tryng to access the Admin Panel..

    1146 Table 'delights_store.zencart_project_version' doesn't exist

  5. #5
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Updating the MYSQL

    OKey, i got it working.

    I re-ran the install program, this time i updated the config files, then updated the database again and it is working sweet...

  6. #6
    Join Date
    Dec 2005
    Location
    NY
    Posts
    188
    Plugin Contributions
    0

    Default Re: Updating the MYSQL

    As an addition to this post, as I had the same problem:

    Running 1.2.7;
    Installed 1.3.5 on server in new directory with new DB;
    Dropped all tables in new DB;
    Exported 1.2.7 DB;
    Imported 1.2.7 DB into new empty 1.3.5 DB;
    get error below...

    1146 Table 'tcustom_zen135.configuration' doesn't exist
    in: [update configuration set configuration_value='/home2/tcustom/public_html/zen135/cache' where configuration_key='SESSION_WRITE_DIRECTORY']

    Looking at some of the forum posts, could this be related to a mod that is not recognized by 1.3.5??

    Any help would be appreciated as I'm trying to populate 1.3.5 with my 1.2.7 products for testing...

  7. #7
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Updating the MYSQL

    Did you try updating the Config files as well , when you updated the database ?

  8. #8
    Join Date
    Dec 2005
    Location
    NY
    Posts
    188
    Plugin Contributions
    0

    Re: Updating the MYSQL

    After exporting the 1.2.7 db and importing into the empty 1.3.5 db, I changed the config files to write (CHMOD 777), else I couldn't pass the install checks for 1.3.5. I checked the configs after failing the upgrade and they seem to have all the proper calls to the new DB (username, pw, dn name, etc. as they should because when I installed 1.3.5 initially, these have to be set.)

    Also, checking phpmyadmin, all the tables came into the new db when I restored from the 1.2.7 backup, and the configuration table seemed fine...the structure looks like all the others.

  9. #9
    Join Date
    Dec 2005
    Location
    NY
    Posts
    188
    Plugin Contributions
    0

    Re: Updating the MYSQL

    After exporting the 1.2.7 db and importing into the empty 1.3.5 db, I changed the config files to write (CHMOD 777), else I couldn't pass the install checks for the 1.3.5 install. I checked the configs after failing the upgrade and they seem to have all the proper calls to the new DB (username, pw, dn name, etc. as they should because when I installed 1.3.5 initially, these have to be set.)

    Also, checking phpmyadmin, all the tables came into the new db when I restored from the 1.2.7 backup, and the configuration table seemed fine...the structure looks like all the others.

  10. #10
    Join Date
    May 2005
    Location
    Australia
    Posts
    334
    Plugin Contributions
    2

    Default Re: Updating the MYSQL

    When you are doing the Update, there are two things to do,

    One is to run "Update Database" and the other is "Update Config".

    Personally i know think the order would matter, but i Ran the config files, then updated the Database.

    Try that.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Updating product price by MySQL gives copy of product
    By veryveryinteresting in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Apr 2013, 04:53 PM
  2. I have noticed that updating the order status does not reflect on the Invoice?
    By Website Rob in forum Managing Customers and Orders
    Replies: 1
    Last Post: 24 Oct 2009, 02:04 AM
  3. Replies: 1
    Last Post: 15 Dec 2008, 11:09 PM
  4. MySQL error when updating order status
    By spretswell in forum General Questions
    Replies: 7
    Last Post: 10 Sep 2006, 10:59 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