Posted on 2002-04-01
hi experts, l'm developing the java servlet in linux rehat 7.2 with mysql installed. when i execute the following code, it returned me with error that i cant see.
String url = "jdbc:odbc:test";
Connection con = DriverManager.getConnection ( url, "oboy", "12Java");
where test is database name of mysql, the error raised on the DriverManager.getConnection line. it might properly failed on establised connection. wondering do i need to set up some DSN of mysql database in linux? any idea ? please help..urgent.