-
Notifications
You must be signed in to change notification settings - Fork 443
Closed
Description
Tried running a mariadb container by means of docker-compose.
This trouble similar to this issue #38
docker-library/mysql#99 (comment) it doesn't solve the issue.
db:
image: 'mariadb:latest'
environment:
- "MYSQL_ROOT_PASSWORD=xxxxxx"
container_name: db
volumes:
- "./mysql/db:/var/lib/mysql"
- "./mysql/localdb-run.sh:/localdb-run.sh"
command: "/localdb-run.sh"
restart: always
$ docker-compose run db
Creating network "docker_default" with the default driver
* Working around permission errors locally by making sure that "mysql" uses the same uid and gid as the host volume
-- Setting mysql user to use uid 0
-- Setting mysql group to use gid 0
* Starting MySQL
2017-01-16 0:12:44 139975239862208 [Note] mysqld (mysqld 10.1.19-MariaDB-1~jessie) starting as process 18 ...
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: The InnoDB memory heap is disabled
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Compressed tables use zlib 1.2.8
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Using Linux native AIO
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Using SSE crc32 instructions
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2017-01-16 0:12:44 139975239862208 [Note] InnoDB: Completed initialization of buffer pool
2017-01-16 0:12:44 139975239862208 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 0 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
2017-01-16 0:12:44 139975239862208 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2017-01-16 0:12:44 139975239862208 [ERROR] Plugin 'InnoDB' init function returned error.
2017-01-16 0:12:44 139975239862208 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-01-16 0:12:44 139975239862208 [Note] Plugin 'FEEDBACK' is disabled.
2017-01-16 0:12:44 139975239862208 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2017-01-16 0:12:44 139975239862208 [ERROR] Unknown/unsupported storage engine: InnoDB
2017-01-16 0:12:44 139975239862208 [ERROR] Aborting
Selman555
Metadata
Metadata
Assignees
Labels
No labels