We help IT Professionals succeed at work.
Get Started

phpmyadmin import

codequest
codequest asked
on
641 Views
Last Modified: 2012-05-06
I have two mysql db's on a hosted linux site, "db1" and "db2".  They are both Tikiwiki MySql DB's.  I have used phpmyadmin to "export" download db1.   I want to "import" db1 to overwrite db2.  I select db2 in my phymyadmin control panel, then Import > Browse to db1 > GO.   I get the message below.

What else might I do to upload and overwrite db2 with db1?
Error
SQL query: 
 
--
-- Dumping data for table `tiki_actionlog`
--
INSERT INTO `tiki_actionlog` ( `actionId` , `action` , `lastModif` , `object` , blah blah blah
 
MySQL said:  
 
#1062 - Duplicate entry '1' for key 1

Open in new window

Comment
Watch Question
Senior Principal Technical Support Engineer
Top Expert 2009
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE