mysql-5.1.30-win32在CMD窗

mysql-5.1.30-win32在CMD窗口中select * from test表不显示中文,用SQL管理工具可以正常显示。
my.ini配置如下:
[client]

port=3306

[mysql]

default-character-set=gbk

[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306

default-character-set=utf8

5.0.67的这样设置一切正常,可是5.1就出上边的问题了。恳请高手指点,谢谢

回复

此内容将保密,不会被其他人看见。
  • 允许的 HTML 标签: <a> <b> <address> <blockquote> <br> <caption> <center> <code> <dd> <del> <div> <dl> <dt> <em> <font> <h2> <h3> <h4> <h5> <h6> <hr> <i> <img> <li> <ol> <p> <pre> <span> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <u> <ul> <tr>
  • 行和段被自动切分。
  • 网页地址和电子邮件地址将会被自动转换为链接。

更多格式化选项信息

随机验证
本功能用于防止垃圾信息
在输入框中输入图片上的字符(注意大小写)