• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

mysql error

Yes, I know, but I have the following and the error is still there

Lua:
CREATE TABLE `player_storage` (
  `player_id` int(11) NOT NULL DEFAULT 0,
  `key` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `value` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
Yes, I know, but I have the following and the error is still there
Because you don't tell the system whats to update, you only write 0...

What do you need to update? Value?

So use:

SQL:
UPDATE `player_storage` SET `value` = 0 WHERE `key` = 74645
 
Solution
Back
Top