dbUrl does not work
See original GitHub issueHi, I’m trying to connect to ad DB using the dbUrl field in configuration file but it does not work
{
"transforms": [
{
"mode": "sql",
"include": "**/*.sql",
"emitTemplate": "{{dir}}/{{name}}.queries.ts"
}
],
"srcDir": "./src/",
"failOnError": false,
"camelCaseColumnNames": false,
"dbUrl": "postgres://postgres:postgres@localhost:5432/postgres"
}
I got this errors:
Error in query. Details: {
errorCode: 'parserOpenTable',
hint: undefined,
message: 'relation "engines" does not exist',
position: '54'
}
But it works perfectly if I use the db object instead!
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
xo/dburl - GitHub
Provides standardized way to parse and open URLs for popular databases PostgreSQL, ... Please note that dburl does not import actual SQL drivers,...
Read more >Driver manager not using the correct driver for the DB url
When I try to connect to aurora DB I would expect DriverManager to use the MariaDB driver - but instead it is using...
Read more >Establishing a Connection (The Java™ Tutorials > JDBC ...
The samples in this tutorial use a URL that does not specify a specific database because the samples create a new database. In...
Read more >URL filtering implementation and troubleshooting
This article presents a few methods of implementing and troubleshooting URL filtering. On Palo Alto Networks devices, PAN-DB URL Filtering ...
Read more >DTP » Oracle DB URL failure, must have slash - Eclipse
I selected type Oracle and the Oracle Thin driver version 10 , file ojdbc14.jar. The problem is that in the general Properties dialog,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great! It works 😄
You are right, seems like v0.10.1 was built from an older commit. Pushed a new version (v0.10.2) which fixes that. Let me know if the issue persists.