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

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

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!

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/what-should-i-do-if-the-path-of-the-mysql-service-is-incorrect/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索