An error occurred while installing mysql: the system prompts that the mysql service cannot be enabled for windows.
Source: Internet
Author: User
An error occurred while installing mysql: the following error occurs: windows cannot enable mysql service to install mysql: windows cannot enable mysql service for the first time, but it is not connected to php5, after the installation is uninstalled, a prompt is displayed: In the last step of the installation program, the prompt windows cannot enable my to install mysql fails: the prompt windows cannot enable mysql service
An error occurred while installing mysql: the system prompts that the mysql service cannot be enabled for windows.
The first installation can be done, but since it is not connected to php5, it will be uninstalled and then installed, the prompt appears: In the last step of the installation program, the prompt windows cannot start mysql service ,,,,,
What is the reason ??
------ Solution --------------------
Check whether the configuration file my. ini is in windows or whether my. cnf is in the c root directory.
If mysql is not stored in the c root directory, add basedir = path under [client] in my. ini/cnf.
Try again
Hope to be useful
------ Solution --------------------
It should have been the last unload.
Follow the steps above to delete my. ini and go to the CurrentControlSet Services of the System under HKEY_Local_Machine in the registry centimeter to search for MySQL and delete it.
Reload.
------ Solution --------------------
Let's see if a program occupies the mysql port.
------ Solution --------------------
The port is occupied by the last mysql. Enter netstat-ao at the command prompt
Find Port 3306, view the pid of the program, and delete the pid process in the task manager to start mysql.
------ Solution --------------------
There must be mysql-related services. check the services and confirm that they are not re-installed. If yes, stop it.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service