http://dev.mysql.com/doc/refman/5.0/...onnection.html

in particolare leggi:

There are two statements that affect the connection character sets:

SET NAMES 'charset_name'
SET CHARACTER SET charset_name

...... segue