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