How to access a remote mysql database using java

前端 未结 3 1697
不思量自难忘°
不思量自难忘° 2021-01-07 09:22

I have already developed a JAVA SWING Application. I want to install this application in several computers which all have access to

3条回答
  •  [愿得一人]
    2021-01-07 09:52

    Well the possibility is limitless.. You can place it on every computer that is accessible by the others. As long as you can acces the database via network it does not really matter where it is. But if the Computers with your client Swing are all connected in LAN, than store the DB on the computer with best Performance. As a tip use the IP, and port dynamicaly from text or entry, so u do not recompile every time u change the IP. Chiers!!

提交回复
热议问题