Java Database Connectivity (JDBC) with MySQL

JDBC -Java Database Connectivity As the name suggests It is an API that enables us to connect to our databases using java. Using this we can connect, add, update, delete, select -tables,columns,rows,databases i.e. In short we can do everything, we want to do with our databases using java. Now, I won't much talk about the theory, I will help you to understand - how you can apply it. But don't worry I assure you that everything I have shown here will give you complete understanding about JDBC and after reading this blog you will be able to implement it in any of your projects. So let's begin this. Get the driver for MySQL : To start with MySQL you will first need a jdbc driver for MySQL, it is called as 'MySQL connector ' . You can find it on this link: MySQL JDBC Connector Choose the connector of your MySQL version. And choose OS 'platform-indepen...