Bug #113528 Error installing the server
Submitted: 30 Dec 2023 1:25 Modified: 3 Jan 12:52
Reporter: Vasyl Kravets Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:8.0.35 OS:Windows (11 pro v.22H2)
Assigned to: CPU Architecture:Other (.)
Tags: error installing, Starting the server, v.8.0.35

[30 Dec 2023 1:25] Vasyl Kravets
Description:
1. Default wrong PATH 
Path Conflicts: 

Install Directory 
C:\Program Files\MySQL\MySQL Server 8.0

Data directory 
C:\ProgramData\MySQL\MySQL Server 8.0 (this path is default)

2. Starting server is fail.

OS Configurations:
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz   2.11 GHz Memory: 16gb 
Windows 11 Pro v.22H2
Windows Feature Experience Pack 1000.22681.1000.0
OS build: 22621.2861

Lenovo ThinkPad T480

How to repeat:
1. Download: Windows (x86, 32-bit), MSI Installer (MD5: 2cfda448a2971b6b5323775ef9e8d012)
2. Install: Custom / 
My SQL Server 8.0.35 - x64, 
My SQL Shell 8.0.35 - 64, 
My SQL Workbench 8.0.34 - x64.
3. Path Conflicts: 

Install Directory 
C:\Program Files\MySQL\MySQL Server 8.0

Data directory 
C:\ProgramData\MySQL\MySQL Server 8.0 (this path is default)

4. Manual correct the path to the same like Install Directory and Installing is ok.
5. All steps accept default.
6. Apply Configuration: Starting server is fail (5th step out of 6).

*Log:
Beginning configuration step: Writing configuration file

Saving my.ini configuration file...
Saved my.ini configuration file.
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules

Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306

Deleted 2 rule(s).
Ok.

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

Successfully added the Windows Firewall rule.
Adding a Windows Firewall rule for MySQL80 on port 33060.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 33060" protocol=TCP localport=33060 dir=in action=allow
Ok.

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

Beginning configuration step: Adjusting Windows service

Attempting to grant the required filesystem permissions to the 'NT AUTHORITY\NetworkService' account.
Granted permissions to the data directory.
Adding new service
New service added
Ended configuration step: Adjusting Windows service

Beginning configuration step: Updating permissions for the data folder and related server files

Attempting to update the permissions for the data folder and related server files...
Found existing data directory, no need to initialize the database.
The data folder and related server files have already been updated.
Ended configuration step: Updating permissions for the data folder and related server files

Beginning configuration step: Starting the server

Attempting to start service MySQL80....................
A task may only be disposed if it is in a completion state (RanToCompletion, Faulted or Canceled).
Ended configuration step: Starting the server
[3 Jan 12:52] MySQL Verification Team
Hello Vasyl Kravets,

Thank you for the bug report.
I tried to reproduce your issue on windows 11 with MSI Installer and tried to install MySQL Server 8.0.35 but I am not seeing any issues at my end. 
Do you have MySQL Server 8.1 or 8.2 installed in your system? If yes, 8.0.35 cannot be installed. Remove other versions installed and try again. Thanks.

Regards,
Ashwini Patil
[3 Jan 12:52] MySQL Verification Team
8.0.35 test results

Attachment: 113528_test_results.png (image/png, text), 147.51 KiB.