MySQL Forums
Forum List  »  Newbie

Updating a Prestashop SQL Database
Posted by: Joe Germann
Date: December 28, 2016 12:01PM

I am migrating from Prestashop version 1.5 to 1.6 which in itself is irrelevant other than the fact that the database is SQL.

I want to run a shell script that will:

* Open Old database
* Extract a named table to a local file
* Open New database
* Clear named table
* Import extracted Old table information into New

> Old database is always the same
> New database is always the same
> There will be many named tables I want to run this script for

I know I can do this within phpMyAdmin but it would be a pain in the neck especially since this will be repeated multiple times.

I am a SQL newbie and could use some starting guidance to do this.

Thank you,
Joe Germann

Options: ReplyQuote


Subject
Written By
Posted
Updating a Prestashop SQL Database
December 28, 2016 12:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.