1 頁 (共 1 頁)

mariadb windows Unknown/unsupported storage engine: InnoDB

發表於 : 2018-06-23 09:56:44
yehlu
https://github.com/docker-library/mariadb/issues/95

Alright, for those who don't like to spend 2+ hours around this issue like I did, here's what fixed it for me (Windows 10, Docker with Hyper-V):

docker-compose.yml:

代碼: 選擇全部

version: "3"
services:

  db:
    image: mariadb:10.1
    restart: unless-stopped
    volumes:
      - ./config:/etc/mysql/conf.d
      - ./data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=xxxxxxx
      - MYSQL_PASSWORD=xxxxxxx
      - MYSQL_DATABASE=xxxxxxx
      - MYSQL_USER=xxxxxxx
    command:
      mysqld --innodb-flush-method=littlesync --innodb-use-native-aio=OFF --log_bin=ON

conf.d/local.cnf

代碼: 選擇全部

[mysqld]
innodb_flush_method=littlesync
innodb_use_native_aio=OFF
log_bin=ON
Please fix this ASAP!