Here's additional info in case it helps someone.
You may or may not consider doing it this way, as you've already begun fidgeting with the configure.php files.... This works well if you are looking to copy over products, categories, customers, attributes, etc. If you are looking to copy the entire database, then you may as well do just that.
With a fresh install of Zencart, here's what I do.
FIRST, DO A BACKUP: in phpMyAdmin. Select your old database that is storing all of your info. Click Export on the top. Click "Select All" (or make sure all the fields in the box are highlighted in the Export box) Leave it as a SQL export type. Check "Save As" and click Go. This makes a SQL backup of your precious database.
THEN: Install Zencart fresh. Link it to an entirely new database.
Say the original was called Zen1.
Call the new install database Zen2 (created of course before the install)
You'll have 93 tables by default in your new installed database, but no products or categories, right?
In phpMyAdmin, click on your old database. Click products. Click Operations. Somewhere there you will see "Copy table to (database**.**table):"
In the drop down, select the new database name as that's where you want to copy to.
In the empty text field after the . type the word products
NOTE: what you type in this field must match exactly the name of the table you are copying.
Click "data only". (as you only want the data. The structure means the "table" itself & that already exists.)
Click "go"
The product data will be copied.
NOTE: If you have existing data in your product table in your new database because you added a product to test it out or whatever, you will not be able to copy over data from the old database to the new. It will error.
If the data in the new database in the "product" table is not important, then delete it and make the table empty so it's ready for the copy over process.
To empty a table: Select the database that contains the table.Then click on the table from the list to the right. At the top you can click "Browse" just to take a look at what's in there to make sure you are cool with deleting it. If so, Click "Empty" at the top. Say Ok to any prompting. Then the table will be empty & you can copy data to it no problem.
To copy over products & categories from an old database to a new database,
you need to copy over AT LEAST these 5 tables:
products
products_description
products_to_categories
categories
categories_description
IF your products had attributes, then you also need to copy over these tables as well:
products_attributes
products_options
products_options_values
products_options_values_to_products_options
If you want to copy the entire database over, even easier.
Make sure you have the backup from above. Make 2 backups if you're totally concerned.
Next destroy the new databse you just installed the ZenCart to, in my example above "zen2"
How to do that: if you don't have a "destroy" option in PhpMyAdmin (next to "Empty" up top), then in your MySql server, delete the databse zen2 (the NEW one, NOT the one holding your databse). Re-create a database again WITH THE EXACT SAME NAME. I mean exact. Now you have a totally empty databse called Zen2.
Go back to phpMyAdmin. Click the new (now empty) database "Zen2". Clck "Import" from the top. Browse to your SQL backup. Click go. It may take a few seconds & voila. There it is.
If you need further assistance, just ask. I am very familiar with importing / exporting to zencart.
hope this helps.