D Declan Well-Known Member Licensed User Longtime User Jun 18, 2016 #1 I have an app that is required to connect to two MySQL databases on my server. Do I need to run two instances of Java server? One for each Database? Also, should I require two instances of Java server, must each be on a separate port?
I have an app that is required to connect to two MySQL databases on my server. Do I need to run two instances of Java server? One for each Database? Also, should I require two instances of Java server, must each be on a separate port?
Erel B4X founder Staff member Licensed User Longtime User Jun 19, 2016 #2 Make sure to use jRDC2 for any new project. You have two options: 1. Run two instances of the B4J server. Each one on a different port. 2. Modify the code to support multiple databases: https://www.b4x.com/android/forum/t...nnect-to-multiple-database.59930/#post-377689 Upvote 0
Make sure to use jRDC2 for any new project. You have two options: 1. Run two instances of the B4J server. Each one on a different port. 2. Modify the code to support multiple databases: https://www.b4x.com/android/forum/t...nnect-to-multiple-database.59930/#post-377689