Posted by:
SimonT
(---.lightspeed.stlsmo.sbcglobal.net)
First - your subject line is completely wrong. Windows did not crash - you did not get a BSOD - Blue Screen of Death, you just got an error message from some component executing on your computer - I say it is an SQL error.
Reading your subject line, people are going to think that you mean that WAMP caused Windows (the operating system) to crash completely.
Second - go read this page: [
stackoverflow.com]
Is what you showed
"#1062 - Duplicate entry '1' for key 'PRIMARY'"
the complete error message or was there more - always give every bit of an error message, something that might seem unimportant to you may be key to getting the correct answer to your problem.
And third -
The information you provided is not sufficient for me to form a good picture of what you did and make concrete suggestions to resolve the issues.
I've never used WAMP on Windows 10 so you might want to post a new question "Will WAMP run under Window 10?" and see what the replies are. You might need to change something, but I don't know.
Let me go line for line on some of what you said and ask some questions:
You said: "So I made a PHP databas"
What did you make - a MySQL datbase named databas (using myPHPAdmin), a PHP file named databas, a directory named databas - what??
.
You said: "Then I instaled Wordpress and named the folder as the databas."
How did you install Wordpress and into what directory did you install it? Did you download WP from wordpress.org and install it? Where did you installed - give me the exact, fully qualified Path on your computer to the directory where you installed WP. Did you name the directory databas before you installed WP or did you change it afterwards.
You said: "Set up the WP config file ..."
What did you "set up in the WP config file (I'm assuming it was the wp-config.file - right?) what did you insert or change - show me the changes or insertions, please.
You said: "...and connected to the database."
What does that mean, what steps, all of them, in detail plese, did you perform to "connect" to the dabase?
You said: "Then I tried to import the securityfile but only get an error #1062 - Duplicate entry '1' for key 'PRIMARY'
What is "securityfile"? Where were you importing it from and where were you importing it to and what do you mean, exactly, when you say "importing."
Give me answers to those questions and I'll see if I can be of assistance in fixing your problem.
[
stackoverflow.com]