The solution to error code 2502 in mysql: first run CMD; then enter the command [msiexec /package "D:\Sogou High-speed Download\mysql-installer-community-5.7.10.0.msi"].
Solution to mysql error code 2502:
Solution one:
1. Run CMD (administrator)
2. Enter the following command: msiexec /package "D:\Sogou High Speed Download\mysql-installer-community-5.7.10.0.msi"
Solution 2:
Press win r and enter "gpedit.msc" in the run box
Return Car, open the local group policy editor, set the "Always install with elevated privileges" status to use together, you can permanently solve the problem of 2502 and 2503
Solution 3:
Directly open the task manager Ctrl Alt Del or Ctrl Shift Esc 2) File ⇒ Run new task ⇒ Enter [the path extension of the MySQL installation package] PS: Remember to check "Create this task with system administrative privileges"
Related free learning recommendations: mysql database (video)
The above is the detailed content of What should I do if mysql error code 2502 occurs?. For more information, please follow other related articles on the PHP Chinese website!