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

 

  • JavaScript-Heavy Service Pages Still Lose Leads in 2026: A Practical Rendering Audit
  • When URL Parameters Become an Operations Problem: Fix Crawl Waste, Cache Fragmentation, and Duplicate URLs
  • WooCommerce Checkout Blocks Are Still a Paid Compatibility Cleanup for Stores With Gateway and Add-On Debt
  • Services
  • Cloudflare's Resource Tagging Beta Turns Resource Sprawl Into a Paid Governance Cleanup
RSS feed

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