On the FIRST computer We saved the local database to the .wappler/targets/targetName/db_init
Opened the db_save.sql file in a text editor and confirmed the data and structure appears to be complete.
Committed the changes to local git then pushed to a remote git repository
On a SECOND Windows computer we cloned an existing project using the above remote git repository
All the files appear to be correct (including the db_save.sql file) except the database does not exist
I followed the “Rebuilding your Environment” steps here: Web Development with Docker Part 2, Databases and Terminals
The database still does not exist
We get a status “500” code “ER_NO_SUCH_TABLE”,…
While attempting to track down the error we discovered the
.wappler/targets/Development/app/modules/connections/db.json file is looking for the database following the path created on the first computer. Any suggestions on how to restore or migrate a local database to a second computer would be appreciated. Thank you.
Last updated: