Create MySQL connection for multiple APIs

by esso   Last Updated August 27, 2017 21:05 PM

I have a question regarding opening connection is a asp .net server.

I am developing asp .net server with some APIs. These APIs can be called simultaneously from mobile.

If I open the connection every time I am updating\querying the db, wouldn't I get an exception that the connection is already opened when two APIs are called simultaneously? It can be a case, that an API will be called while other API call is in progress and using the db.

Can there be more than one opened connection to the db?


Related Questions

Am I planning my database/backend correctly?

Updated April 08, 2015 18:02 PM

foreign key with null value in MySQL

Updated January 22, 2018 19:05 PM

How to Define Service Area – with Zip Codes?

Updated November 01, 2017 15:05 PM

design bd for inventory management

Updated November 01, 2017 16:05 PM