The JDBC with MySQL is too good. one small change in the following Url: http://www.roseindia.net/jdbc/jdbc-steps.shtml: ----------------------------------------------- Getting Results In this step we receives the result of execute statement. In this case we will fetch the employees records from the recordset object and show on the console. Here is the code: while (res.next()) { String employeeName = res.getInt( " employee_name " ); System.out.println( employeeName ); } ------------------------------------------------- here the Employee name is String not Integer. it must be res.getString(employee_name");