loopbackio / loopbackio/loopback-connector-mysql
FULLTEXT | MYSQL | failed with status code 500. Error: ER_PARSE_ERROR: You have an error in your SQL syntax;
Nobody has claimed this yet.
- 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:

Our application model:

Our request crud (get):

Server response:

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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