Question

i can not connect my Database to my webservice

Posted January 3, 2021 141 views
API

This is mein connectionstring =>
<connectionStrings>
<add name=“HealthBookConnectionDB” connectionString=“Server=public……;
port=25060;Database=HealthBook;User Id=essome08;Password=........;SslMode=Require;Trust Server Certificate=True;ssl=true;” providerName=“System.Data.EntityClient” />
</connectionStrings>

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hi @mdxmatt,

You are trying to connect to a Managed Database, correct? Depending on the Database you are using, there are different ways to connect. DigitalOcean have a pretty good tutorial on how you can do that. You can check it out here :

https://www.digitalocean.com/community/tutorials/how-to-connect-to-managed-database-ubuntu-18-04#prerequisites

Additionally, can you confirm this conenctionString from which language is so that I can search for you for possible issues?

Regards,
KFSys

by Mark Drake
If you're new to working with managed databases, the best way to perform certain tasks, like connecting to the database, may not be self-evident. In this guide, we will go over how to install client programs for a variety of database management systems, including PostgreSQL, MySQL, and Redis, on an Ubuntu 18.04 server. We'll also explain how to use these programs to connect to a managed database instance.

i speak german and i use c# asp .net mvc