Cannot delete Category
-
Illuminate \ Database \ QueryException (HY000)
SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' (SQL: updatecategoriesset_lft= case when_lftbetween 15 and 16 then_lft-1 when_lftbetween 14 and 16 then_lft+2 else_lftend,_rgt= case when_rgtbetween 15 and 16 then_rgt-1 when_rgtbetween 14 and 16 then_rgt+2 else_rgtend where (_lftbetween 14 and 16 or_rgtbetween 14 and 16))any ideas about this error
-
Hi @golith,
Please use
utf8_unicode_ciwhen creating a database. -
so when i create the database in the first instance i need to declare it .. ty

CREATE DATABASE bagisto CHARACTER SET utf8 COLLATE utf8_general_ci;