简体   繁体   中英

Unable to connect to server database from java desktop application

I created a java desktop application. I am trying to connect this application to mysql server database. But it is throwing socket exception. I tried in all the ways to solve this issue but none of them worked for me. The problem which I got is mentioned in this link http://ubuntuforums.org/archive/index.php/t-849637.html

在此处输入图片说明

Please help me in this regard. Will be really thankful..

According to your respnose on Oct 3'12 at 10:27, you already found out this is not Java related.

Fix your network problem:

  • ensure MySQL is really running
  • ensure you use correct IP/port
  • ensure no firewall is blocking traffic

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM