I've copied the current site from the root folder into a dev folder and created a sub-domain, so that I can work on some major work on dev.domainname.com without messing with the production site, but I would also like to do the same with the DB.
I've already backed up the sql DB from the admin panel and I have created a new database on the remote server (dev-cl44-ocart (current production DB is cl44-ocart), but how do I import a copy of the production DB into a new table, so that the dev.domainname.com site will make changes to the dev-cl44-ocart and not the production one. I'm aware I also need to update the config in both root and admin folder.
I'm using phpmyadmin btw.
does NOT fully download a working DB, better COPY the DB with your Server Admin
MyPHP DB Tool into another new DB, directly, and IN FULL !
copy_database.jpg (420.6 KiB) Viewed 53 times
For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: email@example.com
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Users browsing this forum: No registered users and 17 guests