The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Using SQLServer driver
Does anyone have experience setting up a SQLServer JDBC driver in RM 5.1?
Here's what I've already done:
-installed SQLServer JDBC drivers
-installed new driver in RM (Tools->Manage Database Drivers)
-setup a DB connection (Tools->Manage Database Connections)
I'm running SQLServer Express. My connection details looks like this:
Database system : SQLServer (my driver that I'd previously installed)
Host: localhost/sqlexpress
Port: 1433
Database schema:
User: <username>
Password: <password>
URL shows up on the UI as : jdbc:sqlserver://localhost/sqlexpress:1433
When I hit the 'Test' button, I get the following (partial) message:
The TCP/IP connection to the host localhost/sqlexpress, port 1433 has failed. Error: "null. Verify t...
The rest of the message is not visible in the UI. SQLServer browser service is up. TCP is enabled.
Any help is appreciated! Thanks!
Here's what I've already done:
-installed SQLServer JDBC drivers
-installed new driver in RM (Tools->Manage Database Drivers)
-setup a DB connection (Tools->Manage Database Connections)
I'm running SQLServer Express. My connection details looks like this:
Database system : SQLServer (my driver that I'd previously installed)
Host: localhost/sqlexpress
Port: 1433
Database schema:
User: <username>
Password: <password>
URL shows up on the UI as : jdbc:sqlserver://localhost/sqlexpress:1433
When I hit the 'Test' button, I get the following (partial) message:
The TCP/IP connection to the host localhost/sqlexpress, port 1433 has failed. Error: "null. Verify t...
The rest of the message is not visible in the UI. SQLServer browser service is up. TCP is enabled.
Any help is appreciated! Thanks!
0
Answers
jdbc:sqlserver://MYSERVER\MYINSTANCE;integratedSecurity=true
Based on that, and assuming that you aren't using integrated security, I'd suggest trying one of the following two URL's:
jdbc:sqlserver://localhost\sqlexpress
jdbc:sqlserver://localhost\sqlexpress:1433
Hope that helps.
Keith
I removed the port and corrected the host to use a backward slash '\' (localhost\sqlexpress). Now the connection works with both integrated as well as sqlserver authentication.
I have tried again to test the connection, now I have a network error ioexception message.
According to database drivers there is a sql server driver already installed, i am working with 5.3 version of rapidminer, and windows 7, sql server is authenticated qith windows. Any idea.
localhost\SQLEXPRESS
instead of
localhost/SQLEXPRESS
Hope this helps
Roland
I have accessed sourceforeg at last, and I have ntmlauth.dll just in windows/system32 and import database table function WORKED GOOD; the connection stringi have used:
host: localhost port:1433
database: AdventureWorks2008R2;instance=SQLEXPRESS
Regards.