Java Database Connection by- Suvin Nimnaka
Many people still wander off internet finding a correct way to initiate MySQL Connection in their Java project. As a beginner I myself used to go through Internet hours and hours looking for a working method. So here's what I found and so far its been working without a problem. If there's issues feel free to comment below. I'm gonna use Wamp server and NetBeans for this project. Creating Database Before you start, open wamp server and initiate localhost. After that type "localhost/phpmyadmin" in your web browser's address bar and it will open phpmyadmin homepage. We are going to use root login for this. As you already know the username is root and the there's no password needed for root user by default. And press Go button. This will open databases page. Okay now you have to make a database and a table inside the database to connect with Java class. For this click on SQL tab on Databases page and yo...