MySQL在Windows下安装报错

Windows server 2012 安装MySQL报错,


C:\Users\Administrator>cd C:\Program Files\MySQL\MySQL Server 5.7\bin

C:\Program Files\MySQL\MySQL Server 5.7\bin>mysqld –install
Service successfully installed.

C:\Program Files\MySQL\MySQL Server 5.7\bin>mysqld --initialize-insecure --user=
root --console
2021-02-20T03:05:11.006578Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is
 deprecated. Please use --explicit_defaults_for_timestamp server option (see doc
umentation for more details).
2021-02-20T03:05:11.006578Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'E
RROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will
be merged with strict mode in a future release.
2021-02-20T03:05:11.053471Z 0 [Warning] option 'innodb-undo-logs': unsigned valu
e 256 adjusted to 128
2021-02-20T03:05:11.100334Z 0 [ERROR] InnoDB: Cannot allocate memory for the buf
fer pool
2021-02-20T03:05:11.100334Z 0 [ERROR] InnoDB: Plugin initialization aborted with
 error Generic error
2021-02-20T03:05:11.100334Z 0 [ERROR] Plugin 'InnoDB' init function returned err
or.
2021-02-20T03:05:11.100334Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE
ENGINE failed.
2021-02-20T03:05:11.100334Z 0 [ERROR] Failed to initialize plugins.
2021-02-20T03:05:11.100334Z 0 [ERROR] Aborting
 

 

求大神指点

删除干净重装