04/01/2022

the MySQL service on local computer started and then stopped.

The MySQL service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

After installing it by mysqld --install. Try this mysqld --initialize. We got the same problem but it's now working.

Also remember to give NETWORK SERVICE permission to the folder:
  1. Right-click Data folder
  2. Select Properties
  3. Select Security tab
  4. Click Advanced
  5. Click Change Permissions...
  6. Click Add...
  7. Type NETWORK SERVICE
  8. Click Check Names
  9. Click OK
  10. Select Full Control
  11. Click OK – four times
  12. Start MySQL service

Không có nhận xét nào:

Đăng nhận xét

Đăng ký tên miền, hosting, máy chủ, thiết kế lập trình website theo yêu cầu

 Chính thức trở thành đơn vị cung cấp dịch vụ đăng ký tên miền quốc tế, tên miền Việt Nam hosting, máy chủ, cloud hosting, cloud server, ema...