Home > database >  Mysql installation failure
Mysql installation failure

Time:09-18

At first I use ordinary installed version, has been stuck in the start, severing to uninstall n times, also tried
Or not, behind the zip version, according to the tutorial https://blog.csdn.net/Charonmomo/article/details/98440968
Installed in step 5 appear error


D: \ mysql - 8.0.17 - winx64 \ bin> Mysqld, initialize the console
The 2019-09-14 T07:50:06. 020057 z 0 [System] [MY - 013169] [Server] D: \ mysql - 8.0.17 - winx64 \ bin \ mysqld exe (mysqld 8.0.17) initializing of Server in progress as the process of 2212
The 2019-09-14 T07:50:06. 021790 z 0 [Warning] [MY - 013242] (Server) - character - set - Server: 'utf8 is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Both Please consider using UTF8MB4 in order to be unambiguous.
The 2019-09-14 T07:50:06. 035158 z 1 [ERROR] [MY - 012576] [InnoDB] Unable to create temporary fi le; Errno: 2
The 2019-09-14 T07:50:06. 035186 z 1 [ERROR] [MY - 012929] [InnoDB] InnoDB Database creation was aborted with ERROR Generic ERROR. You may need to delete the ibdata1 file before trying to start up again.
The 2019-09-14 T07:50:06. 035536 z 0 [ERROR] [MY - 010020]/Server Data Dictionary initialization failed.
The 2019-09-14 T07:50:06. 035548 z 0 [ERROR] [MY - 013455] [Server] The newly created data directory D: \ mysql - 8.0.17 - winx64 \ data \ by -- The initialize is very often. You can remove it.
The 2019-09-14 T07:50:06. 060472 z 0 [ERROR] [MY - 010119] [Server] Aborting
The 2019-09-14 T07:50:06. 061611 z 0 [System] [MY - 010910] [Server] D: \ mysql - 8.0.17 - winx64 \ bin \ mysqld exe: Shutdown complete (mysqld 8.0.17) mysql Community Server - the GPL.

D: \ mysql - 8.0.17 - winx64 \ bin> Mysqld -- install
Service successfully installed.

D: \ mysql - 8.0.17 - winx64 \ bin> Net start mysql
The MySQL service is starting.
The MySQL service cannot be started,

There are bosses can you help me to solve the

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Behind the reinstall 8.0.15 version
Discovery is initialing the database error error log:

Beginning the configuration step: Writing the configuration file
Ended the configuration step: Writing the configuration file

Beginning the configuration step: Updating the Windows Firewall rules
Attempting to delete a Windows Firewall rule with the command: netsh. Exe advfirewall Firewall delete rule name="Port 3306" protocol TCP localport==3306

Deleted 1 rules,
Sure,


Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with the command: netsh. Exe advfirewall Firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
Sure,


Successfully added to the Windows Firewall rule.
Ended the configuration step: Updating the Windows Firewall rules

Beginning the configuration step: Adjusting Windows service
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
The New service added
Ended the configuration step: Adjusting Windows service

Beginning the configuration step: the Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting the process for MySQL Server 8.0.11...
Starting the process with the command: C: \ Program Files \ MySQL \ MySQL Server 8.0 \ bin \ mysqld exe - defaults - file="C: \ ProgramData/MySQL/MySQL Server 8.0 \ my ini" - the console - the initialize - insecure=on...
The 2019-09-14 T15:48:14. 514856 z 0 [Warning] [MY - 011071]/Server option 'read_buffer_size: unsigned value 0 adjusted to 8192
The 2019-09-14 T15:48:14. 514893 z 0 [Warning] [MY - 011071]/Server option 'read_rnd_buffer_size: unsigned value 0 adjusted to 1
The T15:2019-09-14 48:14. 514957 z 0 [Warning] [MY - 010915] [Server] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO SQL modes should be 2 with strict mode. They will be merged with strict mode in a future release.
The 2019-09-14 T15:48:14. 515018 z 0 [System] [MY - 013169] [Server] C: \ Program Files \ MySQL \ MySQL Server 8.0 \ bin \ mysqld exe (mysqld 8.0.11) initializing of Server in progress as the process of 13532
The 2019-09-14 T15:48:14. 529831 z 1 [ERROR] [MY - 012576] [InnoDB] InnoDB: Unable to create temporary file; Errno: 2
The T15:2019-09-14 48:14. 529969 z 1 [ERROR] [MY - 012929] [InnoDB] InnoDB: InnoDB Database creation was aborted with ERROR Generic ERROR. You may need to delete the ibdata1 file before trying to start up again.
The 2019-09-14 T15:48:14. 530383 z 0 [ERROR] [MY - 010020] (Server) Data Dictionary initialization failed.
The 2019-09-14 T15:48:14. 530462 z 0 [ERROR] [MY - 010119] [Server] Aborting
The 2019-09-14 T15:48:14. 531275 z 0 [System] [MY - 010910] [Server] C: \ Program Files \ MySQL \ MySQL Server 8.0 \ bin \ mysqld exe: Shutdown complete (mysqld 8.0.11) MySQL Community Server - the GPL.
The Process for mysqld, with ID 13532, was run successfully and exited with code 1.
Failed to start the process for MySQL Server 8.0.11.
Database initialization failed.
Ended the configuration step: the Initializing Database

Found that the reason for the error, also don't know how to solve the

CodePudding user response:

After the software uninstall, the registry file path have deleted,nullnullnullnullnullnull
  • Related