I copied your code and created a database according to your code and I found two errors.
You have written "com.mysql.Jdbc.Driver". here 'J' of Jdbc should be in lowercase it should be "com.mysql.jdbc.Driver"
one more mistake you have not mentioned any user name and password in below code, do mention the username and password for your mysql.
conn = DriverManager.getConnection(
rs = conn.createStatement().executeQuery("select * from student");
It should be DriverManager.getConnection("jdbc:mysql://vicky-PC/student","root","password"); here root is default username for mysql and enter the password set while installing it.
Rest of the code is Correct. All the best!!
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: JAVA JDBC connectivity problem. Kindly see the attached code, Please guide me.