Error 1067: Invalid default value for '%s'
This error will rise when you are setting an invalid default value for a column, like in the followin example:
CREATE TABLE yourtable (
id INT DEFAULT '',
name VARCHAR(20)
);
because id is an INT and can't have an empty string as a default value, or in this:
ALTER TABLE yourtable
ADD COLUMN description VARCHAR(30) NOT NULL
DEFAULT NULL;
because description is defined as NOT NULL and can't have a null value as default.
The error 1067 is also a Windows error that indicates that a service could not be started, and it indicates that there's a problem with the installation of the service.
It could happen when you install MySQL in a non-standard directory without specifying where your defaults file’s path is.