I am facing 2 issues while migrating using drizzle
Basically there are 2 major issues i am facing. First is while migrating using drizzle , I get a error . After logging it it looks something like this , " PostgresError: password authentication failed for user "oskul"
at ErrorResponse (webpack-internal:///(rsc)/./node_modules/postgres/src/connection.js:539:70)
at handle (webpack-internal:///(rsc)/./node_modules/postgres/src/connection.js:339:728)
at Socket.data (webpack-internal:///(rsc)/./node_modules/postgres/src/connection.js:225:17)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17) {
severity_local: 'FATAL',
severity: 'FATAL',
code: '28P01',
file: 'auth.c',
line: '329',
routine: 'auth_failed'
}
The other issue is VSCode is not accepting the syntax of .sql file and showing syntax errors

2 Replies
dependent-tan•2y ago
@omkar27032004 the second issue is probably best asked in the Drizzle Discord server or in a GitHub issue, sinec it sounds like it's generating invalid SQL?
For the first issue, it sounds like you might be using an outdated password or connection string.
old-apricotOP•2y ago
Hello @ShinyPokemon, I spent a lot of time digging in the issue on Stack Overflow and Github issues. But surely I will do some more research. Also I double checked the password a lot of times and corrected it but still it is showing same error. But thanks for your concern!