MySQL database is chasing code problem

xiaoxiao2021-03-06  80

The mysql database is the ISO-8859-1 character set, and the Chinese will garbled; the solution is as follows:

1. Change the MySQL database connection string

JDBC: mysql: // localhost / confluence? Autoreconnect = true & useunicode = true & characterencoding = GBK

2. Change my.ini (my.cfg) file plus default-character-set = GBK

3. Transfer the data taken (not recommended)

转载请注明原文地址:https://www.9cbs.com/read-106991.html

New Post(0)