Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Compatibility Issues: MySQL and SQLite Not Supported as Claimed #51

Open
QuintenQVD0 opened this issue May 17, 2024 · 2 comments

Comments

@QuintenQVD0
Copy link

Database Compatibility Issues

I was initially excited about this project due to its promise of supporting MySQL and SQLite. However, I've encountered several issues that have forced me to consider alternative solutions. The project claims to support MySQL and SQLite, but in my experience, this support is not functional.

Issues Encountered

  1. Database Selection Ignored:

    • Regardless of what is specified for the database in the .env file, the project always defaults to using PostgreSQL. Manual changes in the schema file are required to specify a different database.
  2. SQLite Configuration Errors:

    • When setting the database to sqlite with file:./main.db, the application encounters errors and fails to connect.
  3. MySQL Port Issue:

    • The .env file contains a hardcoded port for the MySQL connection string that does not match the default MySQL port. This requires manual modification of the connection string.
  4. Database Specification Issues:

    • There is no direct method to specify the desired database without modifying the connection string manually.
  5. Migration Problems:

    • After successfully connecting to the desired database, the application fails to migrate schemas properly. Adding a migration command to the package.json file results in errors indicating mismatches with migration_lock.toml. After adjusting this, SQL errors occur, as the migrations seem to be designed exclusively for PostgreSQL.

Screenshots

Database Configuration Error

Migration Error

Request

Please address these issues or update the documentation to clarify the actual database support. The current state of the project does not align with the claim of supporting MySQL and SQLite.

Thank you for your attention to these matters.

@Yureien
Copy link
Owner

Yureien commented May 17, 2024 via email

@QuintenQVD0
Copy link
Author

afbeelding

import.zip

A litte magic and a converted postgress dump and I got it to work but this was way to advanced for normal users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants