mysql error 'TYPE=MyISAM'

前端 未结 4 1247
一向
一向 2020-12-01 07:22

Below query I\'m executing in Ubuntu 12, MySQL 5.1 version and receiving error as mentioned:

CREATE TABLE mantis_config_table (
    config_id VARCHAR(64) NOT         


        
相关标签:
4条回答
  • 2020-12-01 07:47

    Replace

    TYPE=MyISAM

    with

    ENGINE=MyISAM

    The problem was "TYPE=MyISAM" which should be "ENGINE=MyISAM" as per MySQL version updates - a simple search / replace has fix it.

    0 讨论(0)
  • 2020-12-01 07:48

    In newer MySQL Versions its:

    ENGINE=MyISAM
    

    here the tutorial (MySQL)

    0 讨论(0)
  • 2020-12-01 07:49

    Do not use the keyword TYPE anymore. Use ENGINE instead.

    TYPE keyword is depreciated (since 5.0) and not supported in MySQL5.5

    CREATE TABLE mantis_config_table 
    ( 
       ...   
    ) 
    ENGINE = MyISAM;
    ^^^^^^--------------------- HERE
    
    0 讨论(0)
  • 2020-12-01 07:55

    Use ENGINE instead of TYPE

    ENGINE = MYISAM ;
    
    0 讨论(0)
提交回复
热议问题