Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan



Comment Added by : Rita sen

Comment Added at : 2012-01-05 05:18:13

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
@mahesh yes you can use this to connect to any db server. Just get the ip address of the db server and replace the below line
String dbUrl = "jdbc:mysql://your.database.domain/yourDBname";

To
String dbUrl = "jdbc:mysql://ip/yourDBname";


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. I was trying to copy your coding and execute it, b
View Tutorial          By: Guest at 2012-01-02 04:08:21

2. Hi...i know java but little....
give simple

View Tutorial          By: Murshidha at 2012-02-06 09:52:52

3. I am developing a system for paying electric bill
View Tutorial          By: Isaya at 2007-03-26 01:11:59

4. excellent notes
View Tutorial          By: jawahar at 2010-08-03 00:23:52

5. Why can't you just use an array for something like
View Tutorial          By: Andrea at 2012-10-18 00:17:48

6. This is a great idea if I am targeting the require
View Tutorial          By: Shanthamurthy Hanumantharayappa at 2015-09-14 16:45:22

7. I'm coding a webservice and this is exactly what I
View Tutorial          By: Cristian at 2014-11-14 12:52:34

8. DON'T USE GETS!!!!!!!!!!!!!!! IT'S DANGEROUS!
View Tutorial          By: Caterpillar at 2012-04-23 13:22:42

9. It is a good tutorial but I think the "Instru
View Tutorial          By: Jaypee at 2010-10-10 22:40:50

10. finally! tnx google for taking me here :) my probl
View Tutorial          By: dorinn at 2009-04-02 10:32:40