[Ajuda] MySQL nгo registra
#5

Quote:
Originally Posted by CALENZ021
Посмотреть сообщение
Manda a log do mysql
Код:
[13:42:17] [ERROR] error #1054 while executing query "UPDATE `Contas` SET `Nome`='Nick',`Level`=1,`Vitorias`=0,`Admin`=0,`Cargo`='',`Funcao`='',`Skin`=0,`Matou`=0,`Morreu`=0,`Dinheiro`=1000,`Banido`=0,`Motivo`='' WHERE `ID`=0": Unknown column 'Funcao' in 'field list'
[13:44:15] [ERROR] error #1364 while executing query "INSERT INTO `Contas`(`Nome`, `Senha`) VALUES ('Nick', '12345')": Field 'Cargo' doesn't have a default value
O primeiro erro eu consegui corrigir, mais o segundo nгo sei porque esta dando isso.Trata-se de uma varchar(string) e formatos de texto nгo tem valores padrгo.
Reply


Messages In This Thread
MySQL nгo registra - by MtPlayerZ - 16.06.2018, 14:14
Re: MySQL nгo registra - by CALENZ021 - 16.06.2018, 14:23
Re: MySQL nгo registra - by MtPlayerZ - 16.06.2018, 14:29
Re: MySQL nгo registra - by CALENZ021 - 16.06.2018, 15:29
Re: MySQL nгo registra - by MtPlayerZ - 16.06.2018, 16:49
Re: MySQL nгo registra - by CALENZ021 - 16.06.2018, 18:27
Re: MySQL nгo registra - by AdrianoStk - 16.06.2018, 20:56
Re: MySQL nгo registra - by CALENZ021 - 16.06.2018, 23:54
Re: MySQL nгo registra - by MtPlayerZ - 17.06.2018, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)