Error Code: [MYSQL-1062]Duplicate entry '1050' for key 'PRIMARY'
[SQL]update `tq121_weatherinfo` set `cityid` = '101240203',`city` = '庐山',`temp` = '21',`wd` = '南风',`ws` = '小于3级',`sd` = '48%',`ap` = '',`wse` = '2',`time` = '14:47',`sm` = '',`isradar` = '0',`id` = '1050',`update` = '1711695024',`weatherjson` = 'array (
  \'cityid\' => \'101240203\',
  \'city\' => \'庐山\',
  \'temp\' => \'21\',
  \'wd\' => \'南风\',
  \'ws\' => \'小于3级\',
  \'sd\' => \'48%\',
  \'ap\' => \'\',
  \'wse\' => \'2\',
  \'time\' => \'14:47\',
  \'sm\' => \'\',
  \'isradar\' => \'0\',
  \'id\' => \'1050\',
  \'update\' => 1711695024,
)' where cityid=101240203
Error Message: 256
Error File: /opt/webroot/tianqiyubao4.com/include/class.databasedriver_mysql.php
Error Line: 439