The solution to the wrong path of the mysql service: first create a folder and rename it; then use cmd, cd path, and then enter [mysqld -remove]; then install the mysql service and select the installed bin path ;Finally execute 【mysqld -install】.
The solution is as follows:
1. Create a folder according to the prompt path (and use Rename it), then use cmd (administrator), cd path, and enter mysqld -remove
.
After that, there will be a prompt to delete successfully. After restarting, you will see that this service is deleted.
2. Configure the path, just Path.
Finally, to install the mysql service, you must first select the bin path you installed, and then execute mysqld -install
Here are some common commands:
-
mysqld-install
-
mysqld-remove
-
net start mysql
-
net stop mysql
The above are the details of what to do if the path of the mysql service is wrong, For more, please pay attention to other related articles on 1024programmer.com!