Skip to content

Execute shows error on Next.js #558

Answered by orware
TidharHayute asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @TidharHayute,

That does seem a bit odd.

How are you passing in the host value exactly? Are you passing it in simply as aws.connect.psdb.cloud or as a complete URL like what's shown above (e.g. https://aws.connect.psdb.cloud/)?

At first glance if the session isn't establishing itself correctly that would seem to indicate an issue with one of the config values.

Assuming that the host, username, and password values are all correct and accurate then the next type of test I would be curious about is if you can execute the example query below successfully that we include in our sample connection information:

const results = await conn.execute('select 1 from dual where 1=?', [1])

Or you …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TidharHayute
Comment options

Answer selected by TidharHayute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants