Encoding error with polish charset during transfer of database / server seting up

后端 未结 2 1178
谎友^
谎友^ 2021-01-27 16:43

I am trying to transfer one of my databases from one host (home.pl) to another (my newly set server). The script that I am trying to transfer is wordpress. Unluckily irrespectiv

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-27 17:14

    SET NAMES utf8;
    

    (The default is latin11, which leads to Ä™.)

    Note: init_connect is not executed for root (or any SUPER) user. So this failed you:

    init_connect='SET NAMES utf8'
    

提交回复
热议问题