安装MySQL-5.6报这个错误:
The installer has encountered an unexpected error installing this package.This may indicate a problem with this package. The error code is 2503/2502.
前提是我刚把5.5卸载了,然后重新启动之后安装5.6就报这错误!
安装MySQL-5.6报这个错误:
The installer has encountered an unexpected error installing this package.This may indicate a problem with this package. The error code is 2503/2502.
前提是我刚把5.5卸载了,然后重新启动之后安装5.6就报这错误!
你是win8/win8.1的系统吧。
该错误主要是由于权限不足导致的。
解决办法:
1.运行CMD(管理员)
2.输入以下命令: msiexec /package "你的安装文件路径"
或者
1)直接打开任务管理器 Ctrl + Alt + Del 或者 Ctrl + Shift + Esc
2)文件 ⇒ 运行新任务 ⇒ 输入【MySQL安装包的路径 + 扩展名】
PS:记得勾选“以系统管理权限创建此任务”