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



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. can i have sample of java programming that has dat
View Tutorial          By: piolo at 2009-05-31 18:53:25

2. its superb
View Tutorial          By: chotu jain at 2011-05-24 08:47:22

3. i want full of information abt java
View Tutorial          By: sagar at 2010-08-23 06:42:40

4. thanks a lot that helped.. =D
View Tutorial          By: Karthik at 2008-11-16 02:27:53

5. HI,
I am getting this error
Error lo

View Tutorial          By: vijay bhanu at 2009-07-18 08:57:57

6. Thank ... for idea But
i m confuse how run

View Tutorial          By: Tanaji at 2010-06-01 23:13:19

7. This is very much useful to me to complete my assi
View Tutorial          By: Eva Jhonson at 2012-09-30 16:44:08

8. class loop8
{
public static voi

View Tutorial          By: ankush singh at 2011-11-04 16:26:36

9. can this code communicate with other pc that using
View Tutorial          By: lolo at 2011-10-28 09:14:30

10. i want the database connectivity for telephone bil
View Tutorial          By: rohan at 2015-04-05 05:01:46