mysql 更改字符集
时间:2007-09-03 来源:aklus
更改前
|
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/local/mysql/share/mysql/charsets/ |
| collation_connection | latin1_swedish_ci |
| collation_database | gbk_chinese_ci 编辑/etc/init.d/mysql.server 更改 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >dev/null 2>&1 & 为 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args --default-character-set=gbk>dev/null 2>&1 & 重启mysql /etc/init.d/mysql.server restart
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/local/mysql/share/mysql/charsets/ |
| collation_connection | latin1_swedish_ci |
| collation_database | gbk_chinese_ci 编辑/etc/init.d/mysql.server 更改 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >dev/null 2>&1 & 为 $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args --default-character-set=gbk>dev/null 2>&1 & 重启mysql /etc/init.d/mysql.server restart
相关阅读 更多 +