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. it is a good example to understand.
View Tutorial          By: nivedha at 2011-07-12 05:15:39

2. i am developing a video streaming PC server to j2m
View Tutorial          By: Jamsiya at 2011-08-11 05:07:01

3. superb...thanks :-)
View Tutorial          By: sunny at 2010-11-10 07:20:25

4. hii
i have

two varirables
View Tutorial          By: niranjan at 2012-07-31 06:47:36

5. I discover unlimited calendar.this calendar use of
View Tutorial          By: Lalit Kumbhani at 2011-12-31 16:02:06

6. respected Sir , I am doing B.Tech . I want to know
View Tutorial          By: naveen juneja at 2011-09-18 07:58:04

7. What a wonderful site for beginners? Now I can pra
View Tutorial          By: Kafedha Rwezaula at 2010-06-03 04:39:59

8. IN the above program at the line in ineerclass's p
View Tutorial          By: Narasimha at 2009-10-14 06:30:26

9. plz,sent me a sample j2me programm for chnging col
View Tutorial          By: su at 2007-12-19 21:54:30

10. Awesome code workings fro me thank you so much :)
View Tutorial          By: Shripad at 2012-01-24 08:58:03