INSERT INTO query_cache(session_id, url_id, weight)    SELECT DISTINCT 'tuo6oofc1qda1pshm6ogesl654',u.id,1 as weight
                                  FROM lect_url AS u
                                  WHERE (LOCATE('', u.author )>0)
                                    AND u.is_visible=1  
Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation 'locate'

Читанка