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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. Why the output list in the wrong order?
View Tutorial By: Pavel at 2013-02-23 12:05:02
2. A good Article..........
Thanks!!
View Tutorial By: Pravesh at 2011-12-08 03:34:01
3. thank you so much i learn from your tutorial i wis
View Tutorial By: Anonymous at 2009-01-03 20:08:41
4. it's very good example to understands overloading
View Tutorial By: Rakesh Sharma at 2011-11-18 06:37:49
5. what is the usage of 'detail' and 'debug' init par
View Tutorial By: uday at 2011-07-21 04:53:02
6. how to send data one pc to another with java progr
View Tutorial By: usman at 2011-05-14 01:31:31
7. I need the multiple record store RMS code.Pls help
View Tutorial By: Raghuvir at 2009-05-13 23:03:44
8. This is a great tutorial. I have a slight problem,
View Tutorial By: Vix at 2010-11-22 13:42:03
9. Thanks a lot. I've been stuck on this issue for qu
View Tutorial By: Mark at 2008-04-12 22:01:56
10. This is awesum !!!
easy to understand ....
View Tutorial By: Sud at 2011-01-19 08:37:55