Skip to content

Problems connecting to SQLite and PostgreSQL DB from Windows 10 #299

Open
@LeonGGX

Description

@LeonGGX

Thank you for the great job you've done.
I tried to use sqlx with actix and tide to connect to a SQLite DB and a PostgreSQL DB.
In both cases I ran into trouble :
SQLite : error : "unexpected scheme "d" in DATABASE_URL d:\Programmation\Rust\mes_programmes\tide-sqlx\DB\persons_DB"; tried several solutions (through .env file, hard coding the path, ... ) without succes.
PostgreSQL : error : " failed to connect to database: invalid utf-8 sequence of 1 bytes from index 34", also tried different solutions (changing locale in Postgres, ...), without succes.
Thanks for your help.

system Windows 10
rust version : 1.43

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions