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. Exception in thread "Thread-0" java.lang
View Tutorial          By: yash at 2009-09-16 06:12:32

2. Good article
View Tutorial          By: Manu Francis Mathew at 2009-12-18 00:50:45

3. it's very usefull to the users who were in startin
View Tutorial          By: Harichandana at 2013-02-28 04:37:17

4. nice tutorial
View Tutorial          By: Rakesh at 2012-05-30 01:13:00

5. nice example's
View Tutorial          By: karthi at 2011-01-30 02:25:36

6. hi all,

i successfully executed the

View Tutorial          By: praveen at 2010-07-14 04:47:41

7. Good and Simple Example For Beginners Like me.Than
View Tutorial          By: Lasantha Bandara at 2010-06-29 19:21:48

8. BEST COMMENT EVER:
"Reading the above

View Tutorial          By: Mr.X at 2013-10-02 16:31:42

9. Nice example. I think this is more idiomatic tho'.
View Tutorial          By: John Morrison at 2010-03-28 14:55:07

10. Thanks.. grt example
Also... If the type ar

View Tutorial          By: Shahid at 2011-12-20 10:26:22