更改MySQL错误消息语言 [英] Change MySQL error message language

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

问题描述

我对MySQL错误语言有疑问.当查询有一些错误时,该错误不是英语的.就像下面的消息

I have problem with MySQL Error Language. When query has some error then that error is not in English. It is like below message

Le champ 'id' ne peut être vide (null) 

我已经运行此查询来更改语言,但仍然是相同的错误

I have run this query to change language but still same error

SET lc_messages = 'en_US';

如何将错误消息更改为英语?

How can I change error message to English?

推荐答案

更改my.ini文件中的以下设置

Change the following settings in my.ini file

lc-messages=en_US

要永久更改语言首选项

这篇关于更改MySQL错误消息语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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