dbTalk Databases Forums  

Timestamp problems when importing mysqldump data

mailing.database.mysql mailing.database.mysql


Discuss Timestamp problems when importing mysqldump data in the mailing.database.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bruno Batarelo
 
Posts: n/a

Default Timestamp problems when importing mysqldump data - 01-28-2005 , 02:18 PM






Greetings

for a while I simply can not import properly timestamp data back to
database. I dump all databases with mysqldump --opt --all-databases >
backup.sql and backup file is correctly created. All my tables have
timestamp column since VB programs and MyODBC do not work properly
without it. When I import data back, every timestamp column is
restored to 0000-00-00 00:00:00. That is incorrect data and time
format and my application fails since MyODBC doesn't work properly. I
need to find a way to back up full database structure but dump every
field except timestamp fields or I must find a way to restore old
timestamp values. Anything but 0000-00-00 00:00:00.

Thank you all,
Bruno

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.