How to connect Sybase database

2 views (last 30 days)
Mohit
Mohit on 31 Jul 2014
Commented: Mohit on 1 Aug 2014
I am trying to connect a sybase database but get error "Unable to find JDBC driver". Could you please help how should I go about this? Do I need to install some JDBC driver on matlab?
I am using below line to establish the connection.
conn=database('',atomu,atomp,'com.sybase.jdbc.SybDriver', 'jdbc:sybase:Tds:loneqideldbd2.uk.db.com:6300');
I have attached screenshot of the error I see.
Please help!!!!!
  2 Comments
Geoff Hayes
Geoff Hayes on 31 Jul 2014
Mohit - you didn't attach a screen shot of the error message.
Please check out the link Database Connection Errors and review your error message with the one that is referenced in the table.
Also, consult the MATLAB Sybase JDBC tutorial link that may prove useful.
Mohit
Mohit on 1 Aug 2014
Thanks Geoff, I have attached it now. I will also go through the links.

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!