Module is incompatible with MySQL 8.0.30

Created on 12 April 2023, almost 2 years ago
Updated 14 April 2023, almost 2 years ago

Problem/Motivation

Search keyword functionality is not working with MySQL version 8.0.30, it results in the below SQL query error.

SQLSTATE[HY000]: General error: 3995 Character set 'utf8mb4_0900_ai_ci' cannot be used in conjunction with 'binary' in call to regexp_like.: SELECT "base_table"."vid" AS "vid", "base_table"."nid" AS "nid"
FROM

"node" "base_table"
INNER JOIN "node_field_data" "node_field_data" ON "node_field_data"."nid" = "base_table"."nid"
INNER JOIN "node__body" "node__body" ON "node__body"."entity_id" = "base_table"."nid"
WHERE ("node_field_data"."type" = :db_condition_placeholder_0) AND ("node__body"."body_value" REGEXP BINARY :db_condition_placeholder_1); Array
(
[:db_condition_placeholder_0] => product
[:db_condition_placeholder_1] => \bpolicy\b
)

Note: The module is working with MySQL version less than 8

Steps to reproduce

1. Install the module (scanner 8.x-1.x-dev/8.x-1.0-rc6) & enable entity types.
2. Search the any keyword

Thanks, in advance.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇮🇳India Mohan6695

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024