Comment on Tutorial - Using JDBC to connect to MySQL from Java Program By Rajan



Comment Added by : Java Training Institute In Chennai

Comment Added at : 2012-09-13 12:37:44

Comment on Tutorial : Using JDBC to connect to MySQL from Java Program By Rajan
MySQL Connector/J supports only TCP/IP connections
Java does not support Unix domain sockets connectivity

If the MYSQL is started with skip-networking flag or if the MySQL is running behind the firewall, then TCP/IP option is disabled. So that Java cannot communicate with MySQL.


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. Can u plz send me woking application (Send sms) J
View Tutorial          By: Ritanshu Goel at 2012-09-22 05:53:24

2. When I tried to run this code, I got time out ***
View Tutorial          By: Gandhi at 2009-06-04 06:20:48

3. thanx to schildt
View Tutorial          By: singh at 2012-10-26 11:57:11

4. Very useful and simple.
Thanks.

View Tutorial          By: harsh at 2014-11-06 10:01:22

5. it is very good website for IT students
View Tutorial          By: jeecee at 2013-03-21 12:23:46

6. Very good explanation but i need to know how the c
View Tutorial          By: surender at 2011-11-17 11:15:22

7. I've tried this code but i am gettting error at li
View Tutorial          By: Iqra at 2012-12-13 10:43:12

8. you really dont know how much i want to thank u...
View Tutorial          By: Angana Sengupta at 2013-01-23 18:34:51

9. Thankyou very much for the explanation
View Tutorial          By: Ruchita at 2010-11-11 01:16:10

10. Good Luck.........

by Nagarajan(

View Tutorial          By: nagarajan at 2011-06-21 12:14:39