Created clone of project for development/bugfixing
Posted by mholmes on 07 Aug 2009 in Activity log
The project is now live, with 356 documents entered, and I can't go hacking around with the code and entering phony data, so I need a development copy to work on. I cloned the site in site_dev, and cloned the db to adaptiveDBdev, hooking the cloned site up to the cloned DB. To clone the DB, I had to create an empty db, then take a dump from the source db, changing the database name; then I created a new empty db in phpMyAdmin, and imported the dump file. That was the only way to get the key constraints to transfer successfully; the "Copy database" functionality in phpMyAdmin attempts to add constraints before all the tables are created, which causes it to fail.