I recently started getting errors like this...
"Field 'acctID' doesn't have a default value"
I discover that I need to add a default value or null. I tried both and neither worked.
Next suggestion is removing STRICT_TRANS_TABLES from my.cnf
This suggestion worked, but it left me with two questions.
1. I read that this problem doesn't exist with InnoDB. Is this correct? My tables use InnoDB!
2. Why didn't adding a default value or null just fix the problem?
Thanks in advance for any help or advice on this.
On a VPS using...
CENTOS v7.3
WHM v66.0.17
MySQL v5.6.37
PHP is v5.6.30
"Field 'acctID' doesn't have a default value"
I discover that I need to add a default value or null. I tried both and neither worked.
Next suggestion is removing STRICT_TRANS_TABLES from my.cnf
This suggestion worked, but it left me with two questions.
1. I read that this problem doesn't exist with InnoDB. Is this correct? My tables use InnoDB!
2. Why didn't adding a default value or null just fix the problem?
Thanks in advance for any help or advice on this.
On a VPS using...
CENTOS v7.3
WHM v66.0.17
MySQL v5.6.37
PHP is v5.6.30
Last edited: