I've installed WampServer64 3.1.3 and neither of the DB servers will run. They are failing to read some sort of data file. MySQL complains that "InnoDB: Header page consists of zero bytes in datafile: .\ibdata1", MariaDB is similar with "InnoDB: File (unknown): 'read' returned OS error 0."
Is there something that needs to be done to properly initialize these files? I haven't done anything after installing WampServer. I did verify that for MySQL, the ./ibdata1 file exists, but I can't tell if the contents are correct.
Gory details:
1 - Windows 10 Pro 1803 (build 17134.191) x64
2 - wampserver3.1.3_x64.exe was used to do the install.
3 - apache2.4.33
4 - PHP Version - there seem to be several; I can't tell if one of them is "active" or not
5 - mysql5.7.21
5a - 10.2.14-MariaDB
6 - WampServer icon is orange
a - Apache error log - no errors
b - MySQL error log
2018-08-01T10:28:24.749065Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to [dev.mysql.com] for how to resolve the issue.
2018-08-01T10:28:24.753371Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-08-01T10:28:24.757151Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-08-01T10:28:25.082768Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-08-01T10:28:25.084244Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-08-01T10:28:25.085780Z 0 [ERROR] Failed to initialize builtin plugins.
2018-08-01T10:28:25.087137Z 0 [ERROR] Aborting
b1 - MariaDB error log
2018-08-01 17:27:34 11416 [ERROR] InnoDB: Tried to read 512 bytes at offset 0, but was only able to read 0
2018-08-01 17:27:34 11416 [ERROR] InnoDB: File (unknown): 'read' returned OS error 0. Cannot continue operation
180801 17:27:34 [ERROR] mysqld got exception 0x80000003 ;
c - PHP error log - contains only "No error - Only to create the file"
d - The windows event viewer only had the same errors as above for MariaDB
7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines?
127.0.0.1 localhost
::1 localhost
8 - n/a
9 - phpMyAdmin works but can't do anything because the db servers are not there
10 - exact errors quoted above
11 - Bitdefender AV, built-in Windows firewall
12 - E:\wamp64\
13 - No virtual hosts defined
Is there something that needs to be done to properly initialize these files? I haven't done anything after installing WampServer. I did verify that for MySQL, the ./ibdata1 file exists, but I can't tell if the contents are correct.
Gory details:
1 - Windows 10 Pro 1803 (build 17134.191) x64
2 - wampserver3.1.3_x64.exe was used to do the install.
3 - apache2.4.33
4 - PHP Version - there seem to be several; I can't tell if one of them is "active" or not
5 - mysql5.7.21
5a - 10.2.14-MariaDB
6 - WampServer icon is orange
a - Apache error log - no errors
b - MySQL error log
2018-08-01T10:28:24.749065Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to [dev.mysql.com] for how to resolve the issue.
2018-08-01T10:28:24.753371Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-08-01T10:28:24.757151Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-08-01T10:28:25.082768Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-08-01T10:28:25.084244Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-08-01T10:28:25.085780Z 0 [ERROR] Failed to initialize builtin plugins.
2018-08-01T10:28:25.087137Z 0 [ERROR] Aborting
b1 - MariaDB error log
2018-08-01 17:27:34 11416 [ERROR] InnoDB: Tried to read 512 bytes at offset 0, but was only able to read 0
2018-08-01 17:27:34 11416 [ERROR] InnoDB: File (unknown): 'read' returned OS error 0. Cannot continue operation
180801 17:27:34 [ERROR] mysqld got exception 0x80000003 ;
c - PHP error log - contains only "No error - Only to create the file"
d - The windows event viewer only had the same errors as above for MariaDB
7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines?
127.0.0.1 localhost
::1 localhost
8 - n/a
9 - phpMyAdmin works but can't do anything because the db servers are not there
10 - exact errors quoted above
11 - Bitdefender AV, built-in Windows firewall
12 - E:\wamp64\
13 - No virtual hosts defined