HI all
i am trying to fetch values from SQL database which is present in remote server.The url
string of my code is
String url = "jdbc:msql://10.87.125.74:8080/DatabaseName";
Class.forName ("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection(url,"Ajay","Singh");
Statement stmt = conn.createStatement();
ResultSet rs;
rs = stmt.executeQuery("SELECT * from Employee");
while ( rs.next() )
{
String name = rs.getString("Name");
System.out.println(name);
}
conn.close();
Now when i run my code the following error comes
"No suitable Driver".i have downloaded oracle drivers(or which driver should i download?) and set them in the class path but still the same problem.Kindly help