Hello Everyone, I hope all are doing extremely well π
Prerequisite
- Download Apache NetBeans
- Download MySQL
- Download MySQL connector jar file compatible with your MySQL version
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.
Step 2 - Right click on Databases and then click on New Connection
Step 3 - Export the downloaded connector folder then click on add button then select MySQL-connector jar file. Click on Next button.
Step 4 - Enter your MySQL username and password (default username is root and port is 3306).
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....π
Top comments (0)