Home  >  Article  >  Database  >  What should I do if the path of mysql service is incorrect?

What should I do if the path of mysql service is incorrect?

coldplay.xixi
coldplay.xixiOriginal
2020-11-13 09:45:374029browse

The solution to the incorrect path of the mysql service: first create the folder and rename it; then use cmd, cd path, and then enter [mysqld -remove]; then install the mysql service and select the installation bin path ;Finally execute [mysqld -install].

What should I do if the path of mysql service is incorrect?

Related free learning recommendations: mysql video tutorial

mysql service Solution to incorrect path:

View the service as shown:

What should I do if the path of mysql service is incorrect?

next

What should I do if the path of mysql service is incorrect?

The solution is as follows:

1. Create a folder (and rename it) as described in the prompt path, then use cmd (administrator), cd path, and enter mysqld -remove.

There will be a prompt that the deletion was successful. After restarting, you will see this service deleted.

2. Configure the path, just Path.

Finally, to install the mysql service, you must first select the bin path of your installation, and then execute mysqld -install

Here are some common commands:

  • mysqld -install

  • mysqld -remove

  • net start mysql

  • ##net stop mysql

The above is the detailed content of What should I do if the path of mysql service is incorrect?. 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