Visual Studio连接到mysql数据库错误 [英] Visual studio connect to mysql database error

查看:209
本文介绍了Visual Studio连接到mysql数据库错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在这里用这个字符串代码的指南。



I have been following a guide on here with this string code.

connectionString = "SERVER=***;DATABASE=***;UID=***;PWD=***;" 

星星是我的登录



当我尝试连接时我得到错误无法连接到服务器。联系管理员。一切都是正确的我的数据库名称密码和登录我该怎么办?

stars are my logins

when i try to connect i get the error Cannot connect to server. Contact administrator. everything is right my database name password and login what should i do?

推荐答案

检查这个,



如何在asp.net的mysql的web.config中编写连接字符串 [ ^ ]



--Karthy
Check this,

how to write connection string in web.config for mysql in asp.net[^]

--Karthy


MySql [ ^ ]连接字符串可以帮助你。
MySql[^] connection strings should help you.


这篇关于Visual Studio连接到mysql数据库错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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