Well, when I decided to reinstall the WAMP, I took a copy of the complete data-directory. After the reinstallation I just copied the directory that hold one of my wp-databases and tried to get that to work.
Then when I tried to open this "blog" I got the installation-page of WordPress.
That was the situation when I started this post.
After that I decided to try to follow the installation instructions but it did not work. The installation program told me that there was already a user registrated so I could not fill in the user name which was required. Moment 22 ;-)
Ok I found that it could see the user table but could not retrieve a username.
Checked the database, looked ok, alln tables where there but when I tried to read the content of the tables phpmyadmin told me that the tables didn't exist. Strange but the truth is that it's not enough copying that single directory, you need to copy more files and to be sure I copied the complete data-directory back again.
After that I could open the "blog" but I could not see any post neither any pages. It tells that the page/post doesn't exist but it does!
If I create a new post or page I could see them using the preview but when I update the post/page it can not be seen any more.
When I open the admin panel I can see and edit all posts and pages but they are not visible at the site. Only the first static page is visible along with the menus.
Ok, the question has changed... How can I make WP to find my posts and pages?
What I have done is:
1. Removed all user records for root-user in the DB
2. Re-entered root@localhost user --- didn't work well
3. Took a copy of the complete data-directory
4. Installed a new version of WAMP
5. Copied the old data directory to mysql:s data-dir.
6. Tried to start my blog.
I'm using permalinks like "http://localhost/tradeblogg/2014/01/28/exempel-inlagg/"
but I don't know if that has something to do with it.
Would be nice if you or someone else could find at least a clue of how to proceed with this... eeh.. disaster.