MySQL Server Configuration Hangs at "Starting Server"
Problem Description
When attempting to configure a MySQL server installed using MySQL Installer on Windows 8, the process stalls at the "starting server" step. The configuration log indicates that all other steps have completed successfully.
Attempts at Resolution
Several attempts to resolve the issue have been made without success:
- Uninstalling and reinstalling MySQL
- Deleting MySQL folders and registry entries
The Solution
The problem lies in an inconsistency between the selected service account and the actual account used to start the service during configuration.
To resolve this, follow these steps:
- Access the MySQL service settings (Services -> MySQL56 -> Properties)
- On the Log On tab, change the service account to "Local System Account"
- Apply the change and start the service
- All configuration steps should now complete successfully
Detailed Walkthrough
- Install MySQL using mysql-installer-web-community-5.6.23.0.msi
- Select "Custom" install and include MySQL Servers 5.6.22 - X64 and MySQL Connectors -> Connector ODBC/5.3.4 - 64
- Configure the server as a Windows Service
- Set the Windows Service Name to "MySQL56"
- Check "Start the MySQL Serve at System Startup"
- On the Run Service as... option, leave the Standard System Account checked (this setting will be disregarded due to a bug)
- Wait for the configuration to time out and click "OK" to continue waiting
- Navigate to Control Panel -> Administrative Tools -> Services
- Find the MySQL56 service, right-click on it, and select Properties
- On the Log On tab, change the service account to "Local System Account"
- Return to the Services manager, start the MySQL56 service, and close the windows
- All configuration steps will now complete successfully
The above is the detailed content of Why Does MySQL Server Configuration Hang at 'Starting Server'?. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn