Hi
I have upgraded mysql to v5.0.51a and since then I get an error when using this query
query: INSERT INTO login(user) VALUES ('User')
error: #1364 - Field 'comments' doesn't have a default value
or
query: INSERT INTO login(comments) VALUES ('comments')
error: #1364 - Field 'user' doesn't have a default value
This did not happen with the previous version on the same table as follows:
CREATE TABLE IF NOT EXISTS login (
id int(10) unsigned NOT NULL auto_increment,
user varchar(100) NOT NULL,
comments text NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
Many thanks