Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

MySQL Tips And Tricks

If you encounter errors when importing or creating tables in MySQL with default date values as zero, then you might want to change your 

Check your setting: show variables like 'sql_mode' ;

Set new settings without "NO_ZERO_IN_DATE,NO_ZERO_DATE":
set global sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';

Last modified
2021-02-09

Tags

  • mysql
  • database

Review Greg on Google

Greg Nowak Google Reviews

 

  • Cloudflare Tunnel observability is better in 2026, which makes undocumented tunnel sprawl harder to ignore
  • Cloudflare Cache Response Rules Made Origin Header Debt a Paid Cleanup Job
  • Cloudflare Service Key Deprecation Turns Old DNS and SSL Scripts Into a 2026 Cleanup Project
  • Unsupported Theme Contracts Made WordPress 6.9.3 a Paid Troubleshooting Story
  • WordPress Playground Made Faster Reproduction Easier, but Plugin and Hosting Bugs Are Still Paid Troubleshooting
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.