Android Question Connecting to 2 MySQL Databases at the same time with JRDC2?

Rodrigo Vargas

Member
Licensed User
Hello,

I have an app running for almost 6 years, using JRDC2 to connect with a remote MySQL Database. Works wonderful.

Originally (and recently) I reviewed the Erel's tutorial here:

In the tutorial @Erel connect the example program to a database: example

Question: What If I need to connect to a second database? let's say: example2 and use both?

The configuration in config.properties is currently like this:

config.properties:
#DATABASE CONFIGURATION
DriverClass=com.mysql.jdbc.Driver
JdbcUrl=jdbc:mysql://localhost/example?characterEncoding=utf8
User=root
Password=
#Java server port
ServerPort=17178

I don't see how to archive that....is it possible?

Thanks!
 

Rodrigo Vargas

Member
Licensed User
Apologize. Someone already post this question:
 
Upvote 0
Top