How to insert latin characters into Mysql from the command line shell?
问题 Why can't I insert the word Español via the command line mysql program ? See session below. mysql> select CONCAT( 'Espa', 0xF1, 'ol' ); +------------------------------+ | CONCAT( 'Espa', 0xF1, 'ol' ) | +------------------------------+ | Español | +------------------------------+ 1 row in set (0.00 sec) mysql> create table t > ( > nom varchar(25) NOT NULL > ) ENGINE=InnoDB DEFAULT CHARSET=utf8; mysql> insert into t VALUES( CONCAT( 'Espa', 0xF1, 'ol' ) ); Query OK, 1 row affected, 1 warning (0