Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect Achilles to SQL server #60

Closed
papaul opened this issue Jul 10, 2015 · 2 comments
Closed

Unable to connect Achilles to SQL server #60

papaul opened this issue Jul 10, 2015 · 2 comments

Comments

@papaul
Copy link

papaul commented Jul 10, 2015

I've copied both drivers jtds-1.2.7.jar and sqljdbc4.jar to the C:\Program Files\R\R-3.2.0\library\DatabaseConnector\java directory. Can anyone help in figuring out how to resolve this issue?

SQL Server authentication:

connectionDetails <- createConnectionDetails(dbms="sql server", server="localhost", schema="OMOP", user="xyz",pasword="123")
conn <- connect(connectionDetails)

Connecting using SQL Server driver
Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], :
java.sql.SQLException: I/O Error: DB server closed connection.

Windows authentication: The error message received is
Connecting using SQL Server driver using Windows integrated security
Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], :
com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:4434edbb-347f-4373-b285-3c44636caeb9

Thanks!

@papaul
Copy link
Author

papaul commented Jul 10, 2015

Restarting the application fixed the problem. Thanks!

@papaul papaul closed this as completed Jul 10, 2015
@schuemie
Copy link
Member

Maybe the problem was the typo in the word 'password'?

pasword="123"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants