SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 08/05/2018, 02:19 PM   #1
Error1337
Little Clucker
 
Error1337's Avatar
 
Join Date: May 2018
Location: Chisinau
Posts: 6
Reputation: 0
Default MySQL Error

HTML Code:
[17:13:24] [ERROR] CMySQLQuery::Execute - (error #1364) Field 'Spoiler' doesn't have a default value
[17:14:36] [ERROR] CMySQLQuery::Execute[OnPlayerRegisterMysql] - (error #1364) Field 'Exp' doesn't have a default value
[17:14:36] [ERROR] CMySQLQuery::Execute[] - (error #1364) Field 'City' doesn't have a default value
[17:14:37] [ERROR] CMySQLQuery::Execute[] - (error #1364) Field 'Data' doesn't have a default value
-_-
Error1337 is offline   Reply With Quote
Old 08/05/2018, 08:17 PM   #2
StefaNO [ITA]
Big Clucker
 
Join Date: Apr 2009
Posts: 57
Reputation: 10
Default Re: MySQL Error

Hello, https://www.w3schools.com/sql/sql_default.asp
StefaNO [ITA] is offline   Reply With Quote
Old 15/05/2018, 10:34 AM   #3
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 817
Reputation: 91
Default Re: MySQL Error

Just click a little tick mark in PhpMyadmin along with those columns, saying, NULL. This will allow a value to be NULL. Currently you are having that error cuz you probably has Not Null Ticked and as Default Value nothing.
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.
GTLS is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL] Error (0): Failed to exeute query. You have an error in your SQL syntax; check the manual that corresponds to you lulo356 Scripting Help 3 24/07/2015 05:58 AM
(error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for t SandKing94 Scripting Help 3 22/05/2015 08:53 AM
[MYSQL ERROR ] Access denied for user 'your username here'@'localhost' (using password: YES) (error ID: 1045). SpikY_ Scripting Help 3 07/11/2014 04:09 PM
MySQL Plugin r39-2 Error: Can't connect to local MySQL server through socket Emre__ Scripting Help 10 30/07/2014 08:26 AM
Mysql queriesYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for th audriuxxx Scripting Help 4 11/04/2014 06:42 PM


All times are GMT. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.