create database askbot DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci;
grant all privileges on dbname.* to dbuser@localhost identified by 'dbpassword';
Maybe you'll need to go through the file my.cnf (mysql config) and set all encodings to UTF8.
Somewhere you have incompatible character encodings.
Think you.
从上面可以看出我的数据库哪里除了问题?具体怎么修改?
my.cnf 文件中 把编码设置为utf8.