Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Definition mismatch for Timestamp field

forums forums SQLyog Sync tools, Migration, Scheduled Backup and Notifications Definition mismatch for Timestamp field

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #8873
      rbma
      Member

      Source (HTTP Tunneling): MySQL 4.1.9

      Target (local): MySQL 3.23.58

      First run, the table is created in the local MySQL. Any attempts after the 1st run results in an error message of “Definition mismatch for 'DATE_CREATED'”.

      Any ideas? Thanks.

    • #17243
      Ritesh
      Member

      In v3.23.54, a simple table definition is given as:

      Code:
      CREATE TABLE `TableName1` (                                                                                                          
                   `id` int(11) NOT NULL auto_increment,                                                                                              
                   `t` timestamp(14) NOT NULL,                                                                                                        
                   PRIMARY KEY  (`id`)                                                                                                                
                 ) TYPE=MyISAM

      In 4.1.9, the same table definition is given as:

      Code:
      CREATE TABLE `tablename1` (                                                                                                                                      
                   `id` int(11) NOT NULL auto_increment,                                                                                                                          
                   `t` timestamp NULL default NULL,                                                                                                                              
                   PRIMARY KEY  (`id`)                                                                                                                                            
                 ) ENGINE=MyISAM

      If you notice, the column t is having different definitions i.e. timestamp(14) and timestamp across multiple MySQL versions. We plan to fix this issue in one of the future version of SJA.

      Currently the only solution is to use same MySQL versions for both source and target.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.