WAMP/MySQL 错误的语言不正确 [英] WAMP/MySQL errors not in correct language

查看:31
本文介绍了WAMP/MySQL 错误的语言不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经多次重新安装 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆