Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan
Comment Added by : ahmed
Comment Added at : 2012-05-11 14:18:46
Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
hola
no funciona este
String userName = "userxxxx";
String password = "pasxxxx";
String url = "jdbc:mysql://free.hostingjava.it/dbase";
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
conn = DriverManager.getConnection (url, userName, password);
me da este
Cannot connect to database server : Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
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
Related Tutorials
Java program to get location meta data from an image
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
Archived Comments
1. Please don't give example from book this example i
View Tutorial By: aniruddha at 2011-03-23 00:34:32
2. Hi everybody.i m new to java.dont know how to deve
View Tutorial By: saranya at 2011-01-31 22:40:17
3. new Thread(this , "Demo thread") mean
View Tutorial By: shalini at 2011-12-06 07:29:20
4. Very nice introduction to j2me well you should als
View Tutorial By: Bikashjit at 2012-08-29 08:53:28
5. Thanks it did help to get complete clarity
View Tutorial By: Vivek The Great at 2012-05-07 17:31:32
6. Thank alot
View Tutorial By: Naganatarajan at 2010-01-07 05:54:17
7. Very nice article.... explained the concept very n
View Tutorial By: prashant yeole at 2010-12-16 03:15:07
8. This all works fine, but when I read records from
View Tutorial By: Ayac at 2011-10-31 10:58:21
9. this is good, but i need a simple program about sh
View Tutorial By: ramalakshmi at 2011-01-05 03:38:26
10. thank you
View Tutorial By: cutiegurl at 2011-01-18 20:23:39