Results 1 to 3 of 3

Thread: Repair SQL Error after 5.0.0d patch

  1. #1
    piccirm2 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    65

    Default Repair SQL Error after 5.0.0d patch

    After patching to 500d if I try to use quick repair admin featurs I get the following error...
    Error creating table: repair_table: Query Failed:CREATE TABLE repair_table (id varchar(255) NOT NULL ,name varchar(255) NULL ,vname varchar(255) NULL ,comments varchar(255) NULL ,help varchar(255) NULL ,custom_module varchar(255) NULL ,type varchar(255) NULL ,len int(11) NULL ,required bool DEFAULT '0' NULL ,default_value varchar(255) NULL ,date_modified datetime NULL ,deleted bool DEFAULT '0' NULL ,audited bool DEFAULT '0' NULL ,massupdate bool DEFAULT '0' NULL ,duplicate_merge smallint DEFAULT '0' NULL ,reportable bool DEFAULT '1' NULL ,ext1 varchar(255) DEFAULT '' NULL ,ext2 varchar(255) DEFAULT '' NULL ,ext3 varchar(255) DEFAULT '' NULL ,ext4 NULL , PRIMARY KEY (id), KEY idx_meta_id_del (id, deleted), KEY idx_meta_cm_del (custom_module, deleted)) CHARACTER SET utf8 COLLATE utf8_general_ci::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL , PRIMARY KEY (id), KEY idx_meta_id_del (id, deleted), KEY idx_meta_cm' at line 1

    any explanation of this ???

  2. #2
    nite_man is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Limassol, Cyprus
    Posts
    54

    Default Re: Repair SQL Error after 5.0.0d patch

    Have the same issue on the fresh 5.1 Beta installation. Didn't find solution yet.
    Best Regards,
    Michael Stepanov
    SugarCRM CE 5.0.0.0e, Fedora 8

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Repair SQL Error after 5.0.0d patch

    Quote Originally Posted by piccirm2
    After patching to 500d if I try to use quick repair admin featurs I get the following error...
    Error creating table: repair_table: Query Failed:CREATE TABLE repair_table (id varchar(255) NOT NULL ,name varchar(255) NULL ,vname varchar(255) NULL ,comments varchar(255) NULL ,help varchar(255) NULL ,custom_module varchar(255) NULL ,type varchar(255) NULL ,len int(11) NULL ,required bool DEFAULT '0' NULL ,default_value varchar(255) NULL ,date_modified datetime NULL ,deleted bool DEFAULT '0' NULL ,audited bool DEFAULT '0' NULL ,massupdate bool DEFAULT '0' NULL ,duplicate_merge smallint DEFAULT '0' NULL ,reportable bool DEFAULT '1' NULL ,ext1 varchar(255) DEFAULT '' NULL ,ext2 varchar(255) DEFAULT '' NULL ,ext3 varchar(255) DEFAULT '' NULL ,ext4 NULL , PRIMARY KEY (id), KEY idx_meta_id_del (id, deleted), KEY idx_meta_cm_del (custom_module, deleted)) CHARACTER SET utf8 COLLATE utf8_general_ci::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULL , PRIMARY KEY (id), KEY idx_meta_id_del (id, deleted), KEY idx_meta_cm' at line 1

    any explanation of this ???
    dont know if it helps but the problem is ext4 which has no type

    ext2 varchar(255) DEFAULT '' NULL ,
    ext3 varchar(255) DEFAULT '' NULL ,
    ext4 NULL ,

    PRIMARY KEY (id),

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is patch 5.0.0d cummulativ?
    By c.gross in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-04-30, 12:54 PM
  2. Replies: 1
    Last Post: 2008-02-22, 04:25 PM
  3. DST patch upcoming
    By andydreisch in forum General Discussion
    Replies: 8
    Last Post: 2007-03-12, 03:39 PM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •