Erro MYSQL #1193 - Unknown system variable 'lc_messages'
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. 
  
  https://dev.mysql.com/doc/refman/5.5/en/error-message-language.html