mysqld stops immediately after starting during initial configuration (MySQL_Server5.7). MySQL is installed on a raid5 array 4TB partition (GPT) which is not the OS boot partition. Adding "innodb_flush_method=normal" to my.ini does not fix the problem. Deleting ibdata1 and starting the service does not help. I've been stuck for days - any suggestions would be greatly appreciated
Please find below the my.ini and errors generated
my.ini:
[client]
port=3306
[mysql]
no-beep=
default-character-set=utf8
[mysqld]
port=3306
datadir=H:/Data/MySQL_Server5.7/Data
character-set-server=utf8
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
log-output=FILE
general-log=0
general_log_file="SHK-L070005SRG.log"
slow-query-log=1
slow_query_log_file="SHK-L070005SRG-slow.log"
long_query_time=10
log-error="SHK-L070005SRG.err"
server-id=1
secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"
max_connections=151
table_open_cache=2000
tmp_table_size=16M
thread_cache_size=10
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=8M
key_buffer_size=8M
read_buffer_size=0
read_rnd_buffer_size=0
innodb_flush_method=normal
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=8M
innodb_log_file_size=48M
innodb_thread_concurrency=33
innodb_autoextend_increment=64
innodb_buffer_pool_instances=8
innodb_concurrency_tickets=5000
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
innodb_file_per_table=1
innodb_checksum_algorithm=0
back_log=80
flush_time=0
join_buffer_size=256K
max_allowed_packet=4M
max_connect_errors=100
open_files_limit=4161
sort_buffer_size=256K
table_definition_cache=1400
binlog_row_event_max_size=8K
sync_master_info=10000
sync_relay_log=10000
sync_relay_log_info=10000
error log:
2018-01-11T18:54:28.692201Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-01-11T18:54:28.692201Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-01-11T18:54:28.692201Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-01-11T18:54:28.692201Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-01-11T18:54:28.692201Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe (mysqld 5.7.20-log) starting as process 5904 ...
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to
http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-01-11T18:54:29.067206Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-01-11T18:54:29.067206Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-01-11T18:54:29.067206Z 0 [ERROR] Failed to initialize plugins.
2018-01-11T18:54:29.067206Z 0 [ERROR] Aborting
2018-01-11T18:54:29.067206Z 0 [Note] Binlog end
2018-01-11T18:54:29.067206Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T18:54:29.067206Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe: Shutdown complete
2018-01-11T18:55:03.398061Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-01-11T18:55:03.398061Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-01-11T18:55:03.398061Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-01-11T18:55:03.398061Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-01-11T18:55:03.398061Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe (mysqld 5.7.20-log) starting as process 5064 ...
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to
http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-01-11T18:55:03.773066Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-01-11T18:55:03.773066Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-01-11T18:55:03.773066Z 0 [ERROR] Failed to initialize plugins.
2018-01-11T18:55:03.773066Z 0 [ERROR] Aborting
2018-01-11T18:55:03.773066Z 0 [Note] Binlog end
2018-01-11T18:55:03.773066Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T18:55:03.773066Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe: Shutdown complete