While restarting mysql on Debian Wheezy, I have this serie of error messages continuously on the standard error output :
/usr/bin/mysql: Unknown OS character set ‘ISO-8859-15’.
/usr/bin/mysql: Switching to the default character set ‘latin1’.
As explained here and there , mysql is unable to understand this particular locale. For instance, es_ES@euro is just an alias of es_ES@ISO-8859-15. Any @euro based character set can not be interpreted directly by MySQL. The @euro part needs to be replaced with ISO-8859-15. To prevent new error messages after restarting the mysql service, the LANG variable must be set with the value es_ES.ISO-8859-15 in the mysql init script.
At the beginning of this script, add this line :
And restart the mysql service :
root@localhost:~#service mysql restart