CyberCipher
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
Thanks! @Kuba
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I'm also learning sveltekit BTW. I chose this framework as I wanted to learn it.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I see. Perhaps I should move the drizzle client config to svelte's "backend" thing..
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I'll ask in svelte discord channel for this.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
Ah! I see what you mean.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I am using sveltekit.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
How can I handle this better?
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
and I do infact have a new user,
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
interesting, in
db.ts
I did,
and it looks like its not crashing anymore..
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
so I have now these 2 fields in
.env
file,
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I would also have to change the same in
drizzle.config.ts
as well I guess? otherwise how would it pick it up?57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
you mean rename the
DATABASE_URL
to VITE_DATABASE_URL
in .env
file and use import.meta.env.VITE_DATABASE_URL
in db.ts
instead?57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
in which file? everywhere?
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
Yes, a
.env
file and I use the dotenv
package I think.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
Can this
migrate.ts
file inherit this from drizzle.config.ts
?57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
I see.
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
but once again it crashes,
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
drizzle.config.ts
,
57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
in that case, I guess the migration one doesn't gets the URL from
drizzle.config.ts
?57 replies
DTDrizzle Team
•Created by CyberCipher on 9/30/2024 in #help
PostgresError: password authentication failed for user.
Oh! wait.. I just noticed.. its not
DB_URL
its DATABASE_URL
, I have no idea how it got changed..57 replies