How to enable INNODB in mysql

后端 未结 4 1872
我寻月下人不归
我寻月下人不归 2020-11-29 06:41

When I execute a query in MySQL it returns an error saying that InnoDB is not enabled. When I clicked the storage engine, the InnoDB was disabled.

How do I enable In

4条回答
  •  隐瞒了意图╮
    2020-11-29 07:05

    If your InnoDB gets disabled after a mysql-server upgrade what you have to do Initially is to set plugin-load of at server startup using

    [mysqld]

    plugin-load="myplugin_1=myplugin_1.so;myplugin_2=myplugin_2.so";

    And then specify the pathname to the plugin_dir(plugin directory) it can be done by following changes in the my.cnf file

    [mysqld]
    
    ignore-builtin-innodb
    
    plugin-load=innodb=ha_innodb_plugin.so
    
    plugin_dir=/path/to/plugin/directory
    

提交回复
热议问题