Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Error Encountered When Setting Up MySQL 5.7 Connection #3411

@ETGit39

Description

@ETGit39

I am encountering an issue while configuring a MySQL connection in Neosync with a MySQL 5.7 database hosted on AWS RDS. The following error occurs during the setup process:​

Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'admin_privileges AS ( SELECT privilege_type FROM INFORMATION_SCHEMA.USER_P' at line 2

The issue is specific to MySQL 5.7. When attempting the same setup with MySQL 8.0.40, also on AWS RDS, the connection is established successfully without any errors.​

Executing the query directly on MySQL 5.7 results in the same error, whereas it executes successfully on MySQL 8.0.

As far as I understand, the error appears to be associated with the use of CTE in the query, which is available only for versions 8 and upwards.

Is there any extra setup we need for making neosync compatible with MySQL 5.7, or are there any suggested work arounds? If not, can we consider adding support for MySQL 5.7?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions