首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

navicat for mysql navicat for mysql 显示中文乱码解决方法

2012-07-24 
navicat for mysql navicat for mysql 显示中文乱码解决办法  #Path to the database root   datadirC:/

navicat for mysql navicat for mysql 显示中文乱码解决办法

  #Path to the database root

  datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"

  # The default character set that will be used when a new schema or table is

  # created and no character set is defined

  default-character-set=utf8 <------

  ===========================================

  箭头所指的地方确保为utf8(注意不是utf-8),navicat 里的使用的是mysql字符集(此时不用再选择utf-8编码), 问题才得以解决!我熟悉的中文字符又回来了!

热点排行