PHP ERROR HAPPENED |
11/27/2018 11:54:38 AM |
PHPRunner General questions | |
D
Danny KK Cheah author
Hi All, |
|
![]() |
HJB 11/27/2018 |
https://stackoverflow.com/questions/11770074/illegal-mix-of-collations-utf8-unicode-ci-implicit-and-utf8-general-ci-implic?rq=1 |
D
|
Danny KK Cheah author 11/27/2018 |
https://stackoverflow.com/questions/11770074/illegal-mix-of-collations-utf8-unicode-ci-implicit-and-utf8-general-ci-implic?rq=1 quote excerpt A bit similar to @bpile answer, my case was a my.cnf entry setting collation-server = utf8_general_ci. After I realized that (and after trying everything above), I forcefully switched my database to utf8_general_ci instead of utf8_unicode_ci and that was it: ALTER DATABASE db CHARACTER SET utf8 COLLATE utf8_general_ci;unquote ... for inspiration purposes only ...
|
![]() |
HJB 11/27/2018 |
https://www.youtube.com/watch?v=b7_J6Pfje4k |
![]() |
Admin 11/27/2018 |
It happens because of incorrect database setup. You will need to fix it right in the database. Check this for inspiration: |