I want to connect to MSSQL server in Weka 3.8. I tried lots of things and I couldn't find a way to connect to SQLServer 2012 Database.
Error: driver not found.
I applied all steps about JDBC-ODBC bridge (link below)
https://andersspur.wordpress.com/2013/10/11/connect-weka-to-sql-server-2012-and-14/
ErrorImage :
I know it is late, but I had the same problem, and this took me a while to find the solution. I am almost sure you found the solution. In here, it is the second step. However, I am sharing my approach and hope you and other find this helpful.
First, you need to download jdbc driver from Microsoft as you did. For me: Here
Second, make sure you have enabled TCP/IP connection. More info is here and here,
Third, enable Remote connection in SQL server instance, See here.
Fourth, enable mix security mode in SQL, Here, You may need to restart the sql engine. Integrated security may alos work for you. In this case, see how to set parameters here, Add a user and give it access to db you want.
Fifth, Follow these steps in here or here, as you mentioned.
Sixth, Press this button,
go to this address 'C:\Program Files\Weka-3-8\weka\experiment' and select 'DatabaseUtils.props', You should have edited this file in Fifth and this path may be different on your computer.
Updated
You may need to copy the modified DatabaseUtils.props
into wekafiles
folder possibly located C:\Users\myUser\wekafiles
for Weka 3.8 as suggested by Ivan
Seventh, Press this button and hope you can successfully connect to sql server.
This worked for me as shown here.
I installed JDBC Driver from msdn. But I couldn't find solution. Also I looked for the solutions which are defined in link below. Non of them is a problem in my case.
http://javarevisited.blogspot.com/2015/10/sql-server-jdbc-error-tcpip-connection-to-host-failed-port-1433.html
Here ise the error:
exception: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host WAREHOUSE, port 1433 has failed. Error: "Connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".