Can anyone help me with this error. From several searches on the Net I have not found a solution. I'm using version 7.0.10 of PHP and when I try to log in to phpMyAdmin, the following message appears:


Comando SQL: Edita Edita

SET lc_messages = 'pt_PT';

Mensagens do MySQL : Documentação
#1193 - Unknown system variable 'lc_messages'

One other detail is I have installed Workbench version 6 and MySQL 5.1.


SET lc_messages = ... doesn't work in MySQL Server 5.1. This variable was introduced in 5.5.

Before MySQL 5.5, the lc_messages_dir and lc_messages system variables were unavailable.

To start mysqld with a particular language for error messages, the --language or -L option were used. The option value can be a language name or the full path to the error message file.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.