
SqlError: : A network-related or instance-specific error occurred while establishing a connection to SQL Server. Error occurred during LocalDB instance startup: SQL Server process failed to start. (provider: SQL Network Interfaces, error: 50 – Local Database Runtime error occurred. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. The server was not found or was not accessible. A network-related or instance-specific error occurred while discovering a connection to SQL Server. Probing SQL Instance: ‘(localdb)\MSSQLLocalDB’.Ĭaught exception while probing for SQL endpoint.

This tool will use a local Microsoft SQL Server Express LocalDB instance (you can also use a SQL Server instead) to emulate Azure storage services.Įverything was working properly for the last four months or more, however for no plausible reason today while I was trying to start the Microsoft Azure Storage Emulator I got this error:
AZURE DATA STUDIO LOCALDB FULL
Microsoft Azure Storage Emulator 5.10 tool – This tool is necessary to have the full Logic Apps designer support in VS Code.

AZURE DATA STUDIO LOCALDB CODE
One of the requirements necessary to have the full Logic Apps designer support in VS Code is the Microsoft Azure Storage Emulator 5.10 tool This means that now you can run Logic Apps anywhere: in the cloud, on-premises, locally on your laptop, or wherever you need to. To contextualize better this reason and blog post, I have been testing the new Logic Apps (Preview) for a while, and if you already try it before, you will know that this new type of Logic Apps runs on top of Azure Function Runtime. This was kind of the first thing I thought when I saw this error happen since that didn’t make sense at all.
AZURE DATA STUDIO LOCALDB SERIES
Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: 218) at .OpenDbConnection (, Version=2.2.3.I usually use the series A fish out of water when I want to write something that goes a little bit off-topic on my main blog topic: Enterprise Integration. Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: 232) at .Throw (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at .ThrowForNonSuccessĪt .Open (MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: C:\projects\mysqlconnector\src\MySqlConnector\\MySqlConnection.csMySqlConnector, (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at .HandleNonSuccessAndDebuggerNotification (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)Īt +d_27.MoveNext (MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: C:\projects\mysqlconnector\src\MySqlConnector\\MySqlConnection.csMySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: 517) at .Throw (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at .ThrowForNonSuccess

(MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: C:\projects\mysqlconnector\src\MySqlConnector\\MySqlConnection.csMySqlConnector, : at +d_64.MoveNext (MySqlConnector, Version=0.49.2.0,Ĭulture=neutral, PublicKeyToken=d33d3e53aa5f8c92MySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92: C:\projects\mysqlconnector\src\MySqlConnector\Core\ServerSession.csMySqlConnector, Version=0.49.2.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92:Ģ84) at .Throw (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at .ThrowForNonSuccess (, Version=4.0.0.0,Ĭulture=neutral, PublicKeyToken=7cec85d7bea7798e) at .HandleNonSuccessAndDebuggerNotification (, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) at +d_96.MoveNext Note that the database name between the quotes is empty:Īn error occurred using the connection to database '' on server '127.0.0.1:54771'. I get an error, where it seems the database is not parsed correctly from the connectionstring. When I use dbContextOptionsBuilder.UseMySql("Database=localdb Data Source=127.0.0.1:54771 User Id=azure Password=****") I managed to get the mysql connection string from the environment variable now, but the connection string has format ' Database=localdb Data Source=127.0.0.1:54771 User
