244
Views
2
Comments
Database connection - programmatically switch database connections in MYSQL
Question

Hi

I was trying to switch databases in runtime, I have followed all the steps mentioned in post

https://www.outsystems.com/forums/discussion/15993/servicecenter-database-connection-programmatically-switch-database-connection/

But still I am not able to switch the databases. Below is the information

  1. OutSystems version- 10.0
  2. License includes Platform API.
  3. Switching to databases in MySQL only.
  4. Exposed the entity through integration studio, removed the database from it for eg- 'movie' only.Have also tried removing logical database name from it.

Is there any issue in switching databases in MySQL? But as per API documentation it is supported in OutSystems version 10.0


 


2020-02-28 09-46-54
Eduardo Jauch

Hello Antu.

What's the error message (in Service Center) when you try to switch the database connection?

Cheers.

2019-08-13 08-29-00
Antu Singh

Hi Eduardo

The database remains the default one that is default platform one.

And it tries to run query on entity with default schema only.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.