How to make a MySQL Connection in JAVA?

Posted by Pinki | Updated on

How to make a MySQL Connection in JAVA?

For making the mysql connection in Java program. You need to use port number 3306 in your connection URL.

Output

That’s all, I hope this helped you!


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers