Comments (5)
The use of the JTDS driver is discouraged because it messes up dates. Do you need to specify the Windows domain of your user? If not, you can use the Microsoft JDBC driver instead (even without the integrated security).
from databaseconnector.
Hi @schuemie,
Thanks for your response, I tried with and without the domain but neither way the server was able to authenticate me. The exceptions were entrusted domain and login failed respectively. According to the following Microsoft Developer post when connecting to Sql Server using Windows Authentication from a non-Windows platform the connection string needs the integrated security parameter set to true, the authentication schema needs to be set to JavaKerberos and the JDBC driver should be version 4.0 or above. This also requires configuring Kerberos which I had never done before and was trying to avoid using the jtds driver. Is using Kerberos the only way to authenticate from non-windows platforms to SQL Server using Windows Authentication since jtds is discouraged?
from databaseconnector.
If you don't need to provide the domain, you should be able to log in without integrated security. Did you try not providing the connection string but just setting the dbms, server, (port), user, and password arguments of either createConnectionDetails
or connect
?
from databaseconnector.
Hi @schuemie,
Yes I tried using the createConnectionDetail function setting the dbms, server, port, user and password without the domain and then passing that object to the connect function but the login failed.
from databaseconnector.
You said you managed to connect with RJDBC and jtds. Do you think you could try making it work through RJDBC with the Microsoft JDBC driver instead?
from databaseconnector.
Related Issues (20)
- Option to use executeLargeUpdate HOT 7
- Refactor testing code so it iterates over the platforms in a loop HOT 1
- Not dropping default argument to lag() on Redshift
- Optional method of using Ibis backend connectors HOT 2
- DuckDB connection doesn't work without specifying pathToDriver
- Github Actions not recognizing Snowflake secrets HOT 1
- Running out of memory when pushing Andromeda tables to external databases using bulk import HOT 1
- Rethink a bit DatabaseConnector dplyr sql generation HOT 13
- subsetting the database HOT 9
- Call to Andromeda causing unit tests to fail HOT 1
- Use exported odbc classes HOT 1
- DBI::dbIsValid does not seem to work with postgres
- Multiple valid methods for signature: target signature ‘DatabaseConnectorJdbcConnection#Id’.
- DBI::dbCreateTable does not work as expected
- Add Java version to SQL error report
- How to add connection scripts in connectionDetails object? HOT 2
- Implement a `withConnection` context function for ensuring connections close in scripts
- java.sql.SQLFeatureNotSupportedException HOT 1
- DatabaseConnector dbplyr failing on duckdb when joining more than 2 tables
- Inconsistent connection parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from databaseconnector.