|
本帖最后由 yulihua49 于 2011-11-11 11:26 编辑
飞鸿无痕_cu 发表于 2011-11-11 11:13 ![]()
错误日志一般是和你的数据目录在一起!
尝试在[client]下面加上default-character-set = gbk,然后在[my ...
好像在这:
/var/lib/mysql/linux-ol8d.err
111111 11:15:38 InnoDB: 1.1.8 started; log sequence number 1649269
111111 11:15:38 [ERROR] /usr/sbin/mysqld: Can't find file: './performance_schema/events_waits_current.frm' (errno: 13)
111111 11:15:38 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
111111 11:15:38 [ERROR] /usr/sbin/mysqld: Can't find file: './performance_schema/events_waits_history.frm' (errno: 13)
111111 11:15:38 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
日志的时间挺有纪念意义。
SHOW VARIABLES LIKE 'character%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | gb2312 |
| character_set_connection | gb2312 |
| character_set_database | gbk |
| character_set_filesystem | binary |
| character_set_results | gb2312 |
| character_set_server | gbk |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
如何设置其余的到gbk?
|
|