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. Gan,

Above print is not working bec

View Tutorial          By: Amit at 2011-07-25 05:26:47

2. thats is really too gud... very easy example to un
View Tutorial          By: radhika at 2011-11-27 16:32:25

3. I need dumps for practice
View Tutorial          By: Sanket barge at 2011-06-17 10:05:16

4. pls help on me to program in c++, write a program
View Tutorial          By: Hamid at 2014-12-18 20:41:40

5. Hi ,

Is there any way to export con

View Tutorial          By: Nithya Duraiswamy at 2009-03-03 21:32:05

6. i am developing a video streaming pc server to j2m
View Tutorial          By: ziathegreat at 2009-05-19 13:19:15

7. excellent to easy going
View Tutorial          By: murali at 2009-11-15 23:13:21

8. it is very useful and in understandable manner
View Tutorial          By: Deepika at 2012-03-26 05:10:15

9. it's very usefull to the users who were in startin
View Tutorial          By: Harichandana at 2013-02-28 04:37:17

10. Great Thanks
View Tutorial          By: seedimani at 2009-09-16 01:27:26