How to connect Netbeans and Xampp mysql serve? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to connect Netbeans and Xampp mysql serve?

to add delete update through Netbeans GUI from and to Xampp mysql server.

24th Mar 2017, 2:31 PM
Girmachew Tilahun
Girmachew Tilahun - avatar
1 Answer
+ 3
if I understand what you ask, you may want to execute from your java program, SQL queries as you would do manually from the command line. Runtime.getRuntime.exec(yourCommand); can come handy. below a comprehensive tutorial about that: http://www.mkyong.com/java/how-to-execute-shell-command-from-java/
24th Mar 2017, 2:56 PM
seamiki
seamiki - avatar