当前位置: 首页 > 面试题库 >

WAMP/MySQL errors not in correct language

莫骞仕
2023-03-14
问题内容

I’ve re-installed WAMP multiple times, searched literally hundreds of pages,
and its not fixed this issue:

enter image description here

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.


问题答案:

To change the language that MySQL uses when reporting you need to change the
my.ini file as follows.

Find this line:

# 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

Save the file and then restart MySQL.

left click wampmanager icon -> MySQL -> Service -> Restart Service

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.

How to Find my.ini in WAMPServer

Use the wampmanager menus like so :-

left click wampmanager icon -> MySQL -> my.ini

This will load the my.ini file into your editor.

Here you can find a list of valid
locales



 类似资料:
  • 问题内容: 我花了整个上午在互联网上搜索此问题,以寻求有关此问题的解决方案。我已经在Windows 8.1上安装了wamp服务器,并且尝试通过sendmail(http://glob.com.au/sendmail/)和我的gmail帐户发送一些邮件 当我将sendmail配置为使用端口号465时,总是出现此错误:套接字错误#10060连接超时 如果尝试使用端口587,则会在错误日志中显示以下行:

  • 我在Wamp上使用symfony2,它连接在SQL服务器DB上。 当我开始与项目 一切都很好,速度很慢,但我的网站在127.0上还可以。0.1:8000,Doctrine2连接到sql server数据库时没有问题。 我的问题:当我localhost/MyProject/web/app_php.php(意味着我使用wamp而不是server: run)。Symfony抛出一个异常: PDOExc0

  • 我正在尝试从我的本地主机(在 Windows 上)测试我们的曼德里尔 API。似乎我需要配置“本地颁发者证书”。因此,我下载了 http://curl.haxx.se/ca/cacert.pem 并将其保存在我的文档根目录(c:\wamp\www)中。然后,在我的 php.ini 文件中,我配置了这个: 。 当我运行 Mandrill 的示例代码时,我收到以下错误: 出现mandrill错误:Ma

  • Python 2.7 64bit Django 1.3 WAMP 2.2(Apache 2.2.22)64位 mod_wsgi3.4 64位 Windows 7 64bit 由Django的start项目生成。位于默认 /myapp/myapp/wsgi.py 鉴于上述上下文,无法在WAMP上部署Django应用程序。 “Hello World”测试wsgi应用程序运行良好,因此我已确认mod_w

  • 本文向大家介绍eclipse php wamp配置教程,包括了eclipse php wamp配置教程的使用技巧和注意事项,需要的朋友参考一下 eclipse+php+wamp配置入门教程,具体内容如下 想要学习php,被各种配置虐了一遍。现在提供一个最为简单的php配置。希望给第一次学习PHP的朋友,一些帮助。本人是win7,64位系统 wamp 在wampserver官方网址上下载,与自己系统

  • 我不熟悉Webbing和php。我曾经尝试过这个简单的php curl代码,但输出结果是空的。i、 当我运行以下代码时,我会得到一个空白网页 我在Windows7 64位pc上使用Wamp服务器2。我有未注释的php_curl。dll的php。wamp中apache/bin和php/bin中的ini文件。我已经检查了wamp服务器上的php_curl扩展。我仍然得到一个空白的网页。有什么问题吗?任