From: Gurudath Vashist on
Hey

I have a MySQL database on godaddy.com. I have all the details necessary. I am following all the instructions on the documentation provided with MATLAB. But i consistently get a "JDBC Driver error:name.Driver not found/loaded" when i try to define JDBC data source
I get a dialog for entering my uname and pwd. I'm sure i got that right. even then, this error pops up
this is what i enter:
name-->name of my database
driver-->location of the driver on my hard disk
url-jdbc:mysql://biomsuite.db.5027900.hostedresource.com:3306(hostwithportno.)/nameofmydatabase
also, do I just have to add the location of the driver into classpath.txt or is there more to it?
This is a very urgent requirement. My entire algorithm is based on my ability to get this data into matlab. pls help me out
What am I doing wrong?
From: Oleg Komarov on
> driver-->location of the driver on my hard disk
> also, do I just have to add the location of the driver into classpath.txt or is there more to it?

Type javaclasspath and check that you added correctly the path to the driver.
Second, you don't supply the location of the driver but the drirer name as shown in the documentation.

oleg
From: Gurudath Vashist on
how do i add the path correctly and where do i type javaclasspath?
(I'm sorry if this might seem trivial, but i dont know)
I also have ODBC drivers installed. It cant connect either. ODBC seems simpler as it recognizes my driver.

Thanks for all the help
From: Oleg Komarov on
"Gurudath Vashist" <guru_dath_in(a)yahoo.com> wrote in message <ho3l74$o4u$1(a)fred.mathworks.com>...
> how do i add the path correctly and where do i type javaclasspath?
> (I'm sorry if this might seem trivial, but i dont know)
> I also have ODBC drivers installed. It cant connect either. ODBC seems simpler as it recognizes my driver.
>
> Thanks for all the help

Check this out: http://www.mathworks.com/access/helpdesk/help/toolbox/database/ug/bre07n6.html

I find it very selfexplanatory, sure more than I could do.

Hope it helps.

Oleg