search

Home  >  Q&A  >  body text

java - mysql为什么修改了my.ini之后,用命令行查询版本就不行了?

修改成utf8之后,mysql命令就报错了,改回来就好了,这是为什么呀?

PHP中文网PHP中文网2767 days ago621

reply all(5)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:49:13

    Confirm
    utf8
    utf8
    utf8

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:49:13

    Thank you for the invitation. The encoding you set is wrong, you can see it clearly after looking at the prompt

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:49:13

    What about just setting character-set-server=utf8?

    reply
    0
  • PHPz

    PHPz2017-04-18 09:49:13

    utf8

    Look what you wrote

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:49:13

    The first circle is written wrong. utf8 you wrote uft8

    reply
    0
  • Cancelreply