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. Very good post.^^
View Tutorial          By: LAM at 2009-10-25 04:18:38

2. java use real world object ............
View Tutorial          By: yunus khan at 2012-12-07 08:24:47

3. pls tell me how to run the prog step by step. just
View Tutorial          By: divakar varshney at 2015-04-02 11:14:34

4. nice material
View Tutorial          By: ravi at 2008-12-24 00:40:12

5. It's good working very well...............
View Tutorial          By: avinash at 2013-03-07 09:38:21

6. Dear sir/madam

can you please show

View Tutorial          By: kgothatso at 2011-05-13 17:46:19

7. Hi there! the coding are SUPERB..bt i do nd help i
View Tutorial          By: lily sandra at 2008-01-15 18:30:33

8. a very rare but useful tutorial. Thanks a bunch!
View Tutorial          By: Dalitso at 2014-02-19 12:07:34

9. How can i add all the values of an multidimensiona
View Tutorial          By: jolly at 2015-04-11 11:54:47

10. excellent information is provided to you sir try t
View Tutorial          By: Raghav at 2007-12-16 05:03:53