Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change MySQL error message language

Tags:

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?

like image 649
Azam Alvi Avatar asked Sep 14 '14 15:09

Azam Alvi


2 Answers

Change the following settings in my.ini file

lc-messages=en_US

To permanently change the language preferences

like image 151
undefined_variable Avatar answered Oct 24 '22 02:10

undefined_variable


Change the following settings in my.ini file

im

like image 43
Rooha Ali Avatar answered Oct 24 '22 03:10

Rooha Ali