Just want to share, I had the same going from 1.3.0.2 --> 1.3.5 in the route to 1.3.7
It started with
1101 BLOB/TEXT column 'query_description' can't have a default value
in:
[ALTER TABLE zen_dog_query_builder CHANGE COLUMN query_description query_description TEXT NOT NULL default '';]
when upgrading dB from 1.3.0.2 to 1.3.5.
After a number of delete database and reimport, I found that removing default '' in the following lines worked.
ALTER TABLE query_builder CHANGE COLUMN query_description query_description TEXT NOT NULL default '';
ALTER TABLE query_builder CHANGE COLUMN query_string query_string TEXT NOT NULL default '';
ALTER TABLE query_builder CHANGE COLUMN query_keys_list query_keys_list TEXT NOT NULL default '';
Get help here - but do not forget to also help others...
---
Payment information and image for Zen-Cart 1.3.7 support
Invoice module, with invoice fee for Zen-Cart 1.3.7 support
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Updating 1.37 to 1.38 (mysql_upgrade_zencart_137_to_138.sql) getting the same error.
Code:ERROR 1364 (HY000) at line 62: Field 'query_keys_list' doesn't have a default value
My live/server version of MySQL is 4.1.22. My dev/local version of MySQL is 5.0.27 (where the upgrade/error was occurring). I reconfigured the dev instance and unchecked 'strict mode' and this error went away.
Bookmarks