DEV Community

vishal patidar
vishal patidar

Posted on

Connect MySQL to Apache NetBeans 🚀

Hello Everyone, I hope all are doing extremely well 😊

Prerequisite

Connect MySQL to Apache Netbeans it's too headache work but after reading this blog it's a cakewalk. Without wasting time let's get start.

Step 1 - Open Apache NetBeans and go to the service tab.

Image description

Step 2 - Right click on Databases and then click on New Connection

Image description

Step 3 - Export the downloaded connector folder then click on add button then select MySQL-connector jar file. Click on Next button.

Image description

Step 4 - Enter your MySQL username and password (default username is root and port is 3306).

Image description

After adding the credential you can test connection by click on Test connection button if all is working fine then you can click on Finish button.

Happy coding....👍

Discussion (0)