Database Import error

Permalink
I need to rebuild a site and have the old sql database.

I have installed C5 with a fresh database but it throws this error when I import the backup in phpMyAdmin:

#1062 - Duplicate entry '1' for key 'PRIMARY'

and doesn't bring in the old site data.

How can I resolve this given I am not a db programmer?

thanks

trixiemay
 
fudyartanto replied on at Permalink Reply
fudyartanto
You need rebuild or move your site..? if rebuild why you import data from old database..? you want migrating the content..?
if you want to move your concrete website, just move web file and import old database into empty database.
Please let us know more detail regarding your issue..
trixiemay replied on at Permalink Reply
trixiemay
I had to migrate old content to the new install.

I solved it by my hacking the site.php file and matching the db to that. Seems to work.