How can I change my MySQL collation in WAMPSERVER

前端 未结 2 1716
暖寄归人
暖寄归人 2021-01-05 11:30

How can I change my MySQL collation in WAMPSERVER from latin1_swedish_ci to UTF-8 because I think my HTML special characters are getting all messed up

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-05 12:00

    put in your C:\wamp\bin\mysql\mysql5.5.24\my.ini:

    character-set-server=utf8    
    collation-server=utf8_general_ci
    

提交回复
热议问题