WAMP/MySQL错误,语言不正确 [英] WAMP/MySQL errors not in correct language
问题描述
我已经重新安装了WAMP多次,实际上搜索了数百页,但无法解决此问题:
I've re-installed WAMP multiple times, searched literally hundreds of pages, and its not fixed this issue:
我已经查看了phpmyadmin配置文件,设置为:
I've looked inside the phpmyadmin config files, set:
$cfg['Lang'] = 'en-utf-8';
多次卸载(如上所述),而且似乎还没有运气.任何帮助,将不胜感激.
Uninstalled multiple times (as mentioned) and seemed to have no luck what so ever. Any help would be appreciated.
推荐答案
要更改MySQL在报告时使用的语言,您需要按以下方式更改my.ini
文件.
To change the language that MySQL uses when reporting you need to change the my.ini
file as follows.
查找此行:
# Change your locale here !
lc-messages=fr_FR
并将其更改为您喜欢的语言,例如:
And change it to your prefered language, for example:
lc-messages=en_GB
要将其更改为美国英语,您可以这样做:
To change it to English US, you can do like this:
lc-messages=en_US
保存文件,然后重新启动MySQL.
Save the file and then restart MySQL.
left click wampmanager icon -> MySQL -> Service -> Restart Service
请记住,生产WampServer的人是法国人,所以我想这就是为什么将它添加到my.ini
文件中,而他们只是忘了在此发行版中将其删除.
Remember the guys that produce WampServer are French so I guess thats why this has been added to the my.ini
file, and they just forgot to remove it on this release.
像这样使用wampmanager菜单:-
Use the wampmanager menus like so :-
left click wampmanager icon -> MySQL -> my.ini
这会将my.ini文件加载到您的编辑器中.
This will load the my.ini file into your editor.
在这里您可以找到有效语言环境
这篇关于WAMP/MySQL错误,语言不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!