Azure MySql在应用程序中,MYSQLCONNSTR_localdb不存在? [英] Azure MySql In App, MYSQLCONNSTR_localdb does not exist?

查看:83
本文介绍了Azure MySql在应用程序中,MYSQLCONNSTR_localdb不存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Azure App Service中创建一个ASP.Net核心应用程序,我现在正尝试使用MySql In App作为后端。但是,环境变量"MYSQLCONNSTR_localdb"似乎不存在。它不能从我的应用程序中访问,也不能从Kudo
诊断控制台访问。


Kudo诊断控制台的输出:

解决方案

有关详细信息,请参阅。 请注意,这些环境在SCM站点中不可见 - 仅限主站点。   

I'm creating an ASP.Net core app in an Azure App Service and I'm trying to use MySql In App as a backend for now. However, the environment variable 'MYSQLCONNSTR_localdb' seems to not exist. It is not accessible from within my app, also not from the Kudo Diagnostic Console.

Output from Kudo Diagnostic console:

解决方案

See this for more info.  Note that those envs are not visible in SCM site - only main site.   


这篇关于Azure MySql在应用程序中,MYSQLCONNSTR_localdb不存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆