“error in your SQL syntax” when using lostpassword
-
WordPress no longer recognizes my username and password. Says, “Error: Incorrect password”
And when I try to reset password using …/wp-login.php?action=lostpassword this is what I get:
Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SET user_pass = MD5(‘832ee6’) WHERE user_login = ‘loginname’]
UPDATE SET user_pass = MD5(‘832ee6’) WHERE user_login = ‘loginname’I know I could always delete the database, create a new one, and then manually re-enter my blog messages again //shudder//
…there’s got to be an easier way to fix this error _and_ prevent it from happening again(?)
Do you know an easier way to fix this error than starting over?
Thanks!
Andre
p.s. I have version 1.2.2
- The topic ‘“error in your SQL syntax” when using lostpassword’ is closed to new replies.