I have a MySQL installation with an IP = X.XX.XX.XXX:PORT. If I want to connect via java, I do:
jdbc:http://mysqlX.XX.XX.XXX:PORT/software_database
Where software_store is a database in my server, and if I want to change to another database (in the same server) in order to change I do (MySQL query):
use bookstore_database;
then, if I want to return to the first database I do:
use software_database;
I'm currently working with SpringBoot, but when I do the above queries doesn't make the change. Any idea of how to switch between databases on the same server without disconnect and reconnect the whole database connection?
Thanks
from Newest questions tagged java - Stack Overflow http://ift.tt/1hZuzTQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire