loopbackio / loopbackio/loopback-connector-mysql

FULLTEXT | MYSQL | failed with status code 500. Error: ER_PARSE_ERROR: You have an error in your SQL syntax;

Open
#475 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
126
Forks
181
Avg merge
4d 7h
Merged PRs (30d)
12

Description

### Describe the bug

Hi there,

Today we try to fulltextsearch with mysql, after install system, and configure as follow:
image

Our application model:
image

Our request crud (get):
image

Server response:
image

System as installed with clear installation and clear mode, repo & crud generation.

### Logs

_No response_

### Additional information

Install loopback, generate model, add fulltextindex, add mysql datasource, query with match fulltext query

### Reproduction

Sorry, dataset has private, we can reproduce error with dataset demo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the full-text MATCH query with the demo dataset and MySQL datasource described in the issue. Inspect the generated SQL and the server response to locate the syntax error; done means the query succeeds without the ER_PARSE_ERROR.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mysql, nodejs
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.