SQL will NOT import, Outrageous
So I bought a wordpress site that comes with all the content and everything, and when I unzipped it it only came with:
- wp-content directory
- wp-config.php
- an image directory
- plrboy.sql
basketballmoviesandvideos.com
Now I need the content and I know I am supposed to use the SQL file. But every time I import it using Myphpadmin on cpanel it wont work. I am uploading it to the right place too.
Here is the error I am getting:
Error
SQL query:
--
-- Dumping data for table `wp_comments`
--
INSERT INTO `wp_comments` ( `comment_ID` , `comment_post_ID` , `comment_author` , `comment_author_email` , `comment_author_url` , `comment_author_IP` , `comment_date` , `comment_date_gmt` , `comment_content` , `comment_karma` , `comment_approved` , `comment_agent` , `comment_type` , `comment_parent` , `user_id` )
VALUES ( 1, 1, 'Mr WordPress', '', 'http://wordpress.org/', '', '2010-05-03 18:50:39', '2010-05-03 18:50:39', 'Hi, this is a comment.<br />To delete a comment, just log in and view the post's comments. There you will have the option to edit or delete them.', 0, 'post-trashed', '', '', 0, 0 ) ;
MySQL said:
#1062 - Duplicate entry '1' for key 'PRIMARY'
Any help would be much appreciated.
Thanks,
Augie Johnston
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."