SQLSTATE[42000]: Syntax error or access violation: 1115 Unknown character set: 'utf8mb4'

Error:

SQLSTATE[42000]: Syntax error or access violation: 1115 Unknown character set: 'utf8mb4'

Solution:

Go to config/database.php and replace these two lines with these


'charset' => 'utf8', 

'collation' => 'utf8_unicode_ci',

Komentar

Anonim mengatakan…
Not work for old mysql versions.

Postingan populer dari blog ini

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Cara restart / stop windows service (services.msc) dengan bat / cmd

How to convert VMDK to OVA