Database connection - programmatically switch database connections in MYSQL

Database connection - programmatically switch database connections in MYSQL

  

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


 


Hello Antu.

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

Cheers.

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.