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. plz send me 1 ex that will explain how to use conn
View Tutorial          By: abhijit marne at 2011-12-09 06:32:07

2. Hello,

I was able to rectify port/

View Tutorial          By: Harsh at 2011-10-09 16:54:06

3. Nearly perfect help, but the path I had to use was
View Tutorial          By: Martin Zeltner at 2009-09-15 04:15:19

4. you have extended class Abc within class Abc

View Tutorial          By: SUNIL SHAH at 2012-05-25 06:17:23

5. To "need help":

String s

View Tutorial          By: Mike at 2010-10-14 20:09:31

6. Hello,

I got an error like (Wed Ma

View Tutorial          By: narayanan at 2010-03-17 05:56:21

7. Well done. I am a mobile application developer. I'
View Tutorial          By: Wendi-tan at 2008-09-03 18:45:41

8. i really hate do while loop statement, can u pls h
View Tutorial          By: mARjO at 2011-09-01 03:50:18

9. How to send to multiple mobiles at a time
View Tutorial          By: rakesh at 2010-04-30 10:33:51

10. any body who have a full source code of the progra
View Tutorial          By: progra at 2013-02-11 12:37:34