InnoDB working, still showing “Database server does not support InnoDB storage engine message”

后端 未结 5 579
悲&欢浪女
悲&欢浪女 2021-02-03 12:14

I\'m trying to install Magento on a local server using WAMP. InnoDB is set as the default engine but it still shows me the message:

Database server does

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-03 12:36

    If I rememebr correctly WAMP Server comes with innodb disabled, but it is a simple job to activate it.

    Edit the my.ini ( use the wampmanager menus to edit it )

    Look for this line, its roughly around line 90 - 100, you will see a set of paramteters all commented out. Remove the # so it is no longer a comment. You may have to do a little reasearch on what the params mean and then you may have to do some tweeking to get innodb working well, but just uncommenting them should activate innodb.

    # Uncomment the following if you are using InnoDB tables
    innodb_data_home_dir = D:/wamp/bin/mysql/mysql5.5.28/data/
    innodb_data_file_path = ibdata1:64M:autoextend
    innodb_log_group_home_dir = D:/wamp/bin/mysql/mysql5.5.28/data/
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    innodb_buffer_pool_size = 16M
    innodb_additional_mem_pool_size = 4M
    

    Restart MySQL service after you have changed and saved the ini file.

提交回复
热议问题