Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL Error 1064 - Am I blind? Strange error [closed]

My query:

UDPATE message_recipients SET
recipient_status = 2 WHERE mid = 3 AND
recipient_id = 4

Table fields:

id, mid, recipient_status, recipient_id

Error:

1064 - 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 'UDPATE message_recipients SET recipient_status = 2 WHERE mid = 3 AND recipient_i' at line 1

Could someone give me any advice?

like image 764
Codium Avatar asked Jun 03 '11 20:06

Codium


1 Answers

You need UPDATE instead of UDPATE. I do this myself at least three times a week :)

like image 197
Michael Berkowski Avatar answered Sep 30 '22 12:09

Michael Berkowski