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



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

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

Archived Comments

1. Hi..All ...to run this programs.first of of all u
View Tutorial          By: raavi.surendra at 2011-12-29 05:34:06

2. hi, this is a good example and this rely helpful i
View Tutorial          By: Dhaval PATOLIYA at 2015-09-08 06:55:38

3. Very informative and simple to understand. Thank y
View Tutorial          By: Rosa Vladivord at 2012-12-23 13:00:52

4. i get this error too but i dont start the mysql se
View Tutorial          By: Head at 2009-02-27 00:47:43

5. I'm coding a webservice and this is exactly what I
View Tutorial          By: Cristian at 2014-11-14 12:52:34

6. would like to have copy of clock
View Tutorial          By: jim johnson at 2008-04-10 17:30:06

7. answers to the questions asked by ranjan in commen
View Tutorial          By: A Sadist at 2012-07-05 12:13:45

8. Hi, I have mobile application developed in java w
View Tutorial          By: Meenu at 2008-12-30 02:46:54

9. I am trying to connect mobile to PC. I put your ex
View Tutorial          By: Dedo at 2011-11-30 17:45:32

10. xml response is :

<?xml version=

View Tutorial          By: Madhu at 2011-06-29 09:47:51