I have installed 1.2.1 in parallel with the current 1.2 version on my site, so that I could check it and customize it first, before switching for good.
I changed what needed to be changed, and got the main page to display properly; I then tried to log in and could not: I kept getting an error message "Error: Incorrect password." I tried to get the system to email me the password, and got two messages; one saying:
Login at: http://xxxxx/wordpress-1.2.1/wp-login.php
(note the empty "Login")
the other message arrived a few seconds later and contained only this line:
Password Lost and Changed for user:
(again, no user name; I assume I'm getting this one because I'm the system administrator)
I tried the password (and repeated the attempt several times) to no avail.
I then tried to log in to the 1.2 installation, which had been working fine, and it now was broken as well: not only I could not log in and got the same defective emails when I tried to get the password, but I also noticed that version 1.2 was now under the impression that it was 1.2.1 and used URLs associated with the 1.2.1 directory.
Investigation of the database with phpMyAdmin showed that the filed "siteurl" in table "wp_options" had been changed to what it would become under 1.2.1, i.e. http://xxxxx/wordpress-1.2.1
I changed it back manually to 1.2 but that made no difference, I still cannot log in and whenever I try to log in through 1.2.1 it changes siteurl to point to itself.
What do I do now?