我如何检查我的网站使用了哪个数据库 [英] How I Check Which Databse Is Used For My Website

查看:78
本文介绍了我如何检查我的网站使用了哪个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该在哪里检查哪个数据库用于网站。

where should I check the which database is used for website.

推荐答案

检查连接字符串。它可能位于connectionstring.config文件或web.config文件中。
Check connection string. It might be in connectionstring.config file or web.config file.


转到web.config文件 - >找到代码



< connection>

< add name =xxxconnectionstring =datasource = xx; database = xx; uid = xx; pwd = xx>

< connection />



在这里你可以得到你的数据库名称在你的项目中使用。



谢谢
Go to web.config file -> find the code

<connection>
<add name="xxx" connectionstring="datasource=xx;database=xx;uid=xx;pwd=xx">
<connection />

Here you can get the database name which you are using in your project.

Thanks


这篇关于我如何检查我的网站使用了哪个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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