I am very new to JDBC programming.
I am using Mac OS X and trying get the following code run. I have already installed mysql into my machine. However, when I compiled and run the code, I got the error that I have given below the code. Can you please help me on finding out the reason for this error?
Sorry for the cross posting - will delete the other.
I think that I have resolved the problem. The default port is 3307- not 3306. When I have made the regarding change, it seems that I got the code working.
I think that I have resolved the problem. The default port is 3307- not 3306. When I have made the regarding change, it seems that I got the code working.
Thanks.
MySQL default port is 3306. Unless you have changed it to 3307, the port should have been 3306.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Replace the word "snake" with "danger noodle" in all tiny ads.