在FreeBSD 8.2上行使MySQL.怎样找出默认的处事器字符集?是否有一些我可以运行的呼吁或我可以搜查的文件?
UPDATE
现实上我想知道怎样找到默认处事器字符集和当前处事器字符集.
最佳谜底
如Server Character Set and Collation所述:
Initially,the server character set and collation depend on the options that you use when you start 07001. You can use 07002 for the character set. Along with it,you can add 07003 for the collation. If you don’t specify a character set,that is the same as saying 07004.
因此,默认处事器字符集是Windows-1252,MySQL挪用latin1,除非您的MySQL副本已经行使其他一些默认编译.
手册继承说:
The current server character set and collation can be determined from the values of the 07005 and 07006 system variables. These variables can be changed at runtime.
因此,要发明当前行使的处事器字符集:
SHOW VARIABLES LIKE 'character_set_server'
(编辑:湖南网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|