connect to external database

connect to external database

  

i am trying to connect to mysql database which is present in my machine. I tried server with localhost , 3306, root@localhost , filled sechema but nothing works. i always get below error

Connection String test failed: Unable to connect to any of the specified MySQL hosts.

Hi Lovish,

From your personal environment you can't connect to a database that is on your PC. You should have a VPN between Outsystems and your machine. My guess is Outsystems don't support that.

Menno

Hi Lovish,


This configuration on service center is always related to the machine where your server is hosted. In this case your personal env. So, when you try to connect 'localhost' it will looking for mysql hosted on the same machine of your personal env.  To connect to your own mysql instance, first of all you need that your machine has a public ip on internet and this ip was reacheable from your personal.


Best regards

Fantato