MySQL database gives blank page (white screen of death)

From the looks of it, you should be changing the pre-existing urls from /www.mypage.no to /localhost

The /var/www is part of the file path normally (though i suppose you could potentially set the server up that way…), so more than likely wordpress thinks it is at /var/www relative to the web root instead of /.

Don’t forget to also change the two urls in the options table.