Quantcast
Channel: Toad for MySQL
Viewing all articles
Browse latest Browse all 1315

Forum Post: Customizing connection string to set Allow Zero Datetime=true for MySQL

$
0
0
I am using Toad for MySQL to access my database. The database contains datetime values of 0000-00-00 00:00:00. Toad is converting these to null, but I don't want that since the database structure is not allowing these fields to be null. I think I can avoid this problem by adding Allow Zero Datetime=true to the connection string, but I don't know how to do that in Toad for MySQL - i.e. customize the connection string to include that parameter. I tried to manually edit the .xml file that contains the connections strings, but that seemed to have no affect, and my changes were overwritten the next time I exited Toad. Is there a way to customize the connection string? And if so, will that solve my problem?

Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>