mysqlworkbench 程序或文件打开失败( Failed to open the program or a mwb file)

来源:互联网 发布:淘宝皮草女装 编辑:程序博客网 时间:2024/05/18 09:18

异常状况 : 昨天将mysqlworkbench 6.0(以下简称mwb) 卸载掉, 今天需要又要装上,  安装的过程没有任何错误, 但是打不开mwb, 或者mwb后缀的文件. 弹出3个提示框,  提示有3个xml的配置文件找不到(具体文件名忘记了). 

解决方式 : 

1- 先卸载掉目前装的mwb(如果已经安装了的话);

2- 打开 C:\Documents and Settings\Administrator\Application Data\MySQL 目录, 会发现里面有个Workbench的文件件, 删除掉, 重启;

3- 重新安装mwb. ok, 问题解决.


后记: 刚才我又测试了一遍上面的方法, 发现没有执行操作2, 也就是没有删除Workbench文件夹, 安装后, 竟然又能正常使用了. 奇了怪了.

 不过, 如果有上述问题的盆友, 可是试一下上面的方法.


//备注:下面的英文是自己翻译的, 不是从外文网站copy过来的, 为得是想或许能有外国的盆友搜索到此问题.

Question: mysqlworkbench Failed to open the program or a mwb file

Exception: Yesterday, i unistalled the mysqlworkbench 6.0 (here in after referred to as mwb), but todayinstalled it again, the installation process without any error, butafter installed , i can not open mwb, or any mwb file. 3 prompt box pops up, suggesting that 3 xml configuration files can not be found (i fogot the specific file name).

Solution:
1 - first uninstall the currently installed mwb (If you have already installed it);
2 - open  C: \ Documents and Settings \ Administrator \ Application Data \ MySQL directory, you will find there are a Workbench file pieces, deleted, then restart;
3 - Reinstall mwb ok, the problem is solved.

Postscript: I just tested it again , found that it actually works without step 2, which doesn't delete the Workbench folder.  so odd.

0 0
原创粉丝点击