Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

I have ''Field 'id'doesn't have a default value.'' problem. Please Help.

Bloosy's profile image Bloosy posted 1 month ago in General Permalink

Hello HeidiSQL developers. I have this problem. I have a FiveM Server. Please help. There is a images;

1 attachment(s):
  • problem1
ansgar's profile image ansgar posted 1 month ago Permalink

This is an issue with your table definition, not with HeidiSQL itself. The addon_inventory has an "id" column, and your INSERT query did not provide a value for that id.

Bloosy's profile image Bloosy posted 1 month ago Permalink

So, What can i do ?

Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
ansgar's profile image ansgar posted 1 month ago Permalink

You have to either provide a value for "id" in your INSERT query. Or you add a default value for "id" in the table definition:

Description

Bloosy's profile image Bloosy posted 1 month ago Permalink

THANK YOU VERY MUCH! YOU ARE THE BEST!

BubikolRamios's profile image BubikolRamios posted 1 month ago Permalink

To borrow upper image... id is type of int, if you select custom text(not logical) and enter something like 0 it shows '0'

Should be custom value right ? And in this case 0 not '0'

Please login to leave a reply, or register at first.