xampp本地mysql环境phpmyadmin中文正常但是程序读取时中文问号的_MySQL
程序员文章站
2022-05-20 14:36:02
...
XAMPP
先看下
SHOW VARIABLES LIKE 'CHARACTER_SET_%'
发现有latin1, 于是打开my.ini
## UTF 8 Settingsinit-connect=/'SET NAMES utf8/'collation_server=utf8_unicode_cicharacter_set_server=utf8#skip-character-set-client-handshake#character_sets-dir="/xampp/mysql/share/charsets"
EOF