Netbeans | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Netbeans

How to connect mysql to jdbc driver? Any body solve this problem?

1st Nov 2019, 6:30 AM
Juber Khan
Juber Khan - avatar
4 Answers
+ 2
You need to download the jdbc driver from the Oracle website. Then you need to extract the .rar file. Once you do that then you will get to see the driver which has to be copied inside the project file you are working with. Also go to your MySql and create a connection which will generate an ip address and a port number.
1st Nov 2019, 7:32 AM
Avinesh
Avinesh - avatar
+ 1
Actually I have done almost but your comment last two line I haven't done so I will u try again. Your last two line
1st Nov 2019, 9:16 AM
Juber Khan
Juber Khan - avatar
0
You are asking for the code or the initial connection setup?
1st Nov 2019, 7:14 AM
Avinesh
Avinesh - avatar
0
I am face only jdbc driver Actually my netbean show the error. The error is the( jdbc driver for MySQL is not registered) @avinesh
1st Nov 2019, 7:22 AM
Juber Khan
Juber Khan - avatar