我无法从vb.net与我的SQL连接 [英] i cant connect with my sql from vb.net

查看:79
本文介绍了我无法从vb.net与我的SQL连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我输入Imports mysql.data.mysqlclient
它显示错误,我如何从vb.net与mysql连接,请帮忙.

hi if i type Imports mysql.data.mysqlclient
it is showing error and how i can connect with mysql from vb.net please help.
thnx in advance.

推荐答案

请检查您的mysql服务器是否正在运行,以及端口,密码和用户名
Please check if your mysql server is running and what the port, pwd and username


是什么?给导入Data.Mysqldata.mysqlclient 错误?
通过 [
is it giving error to Imports Data.Mysqldata.mysqlclient ?
go through this[^] link. it will help you.


请确保已使用解决方案资源管理器中上下文菜单中的添加引用"在项目中引用了MySql.Data库.您必须先在项目中引用该库,然后才能将其导入到您的类中.

希望对您有帮助
Make sure you have referenced the MySql.Data library in your project using Add References in the context menu in Solution Explorer. You have to reference the library in your project first and then you can Import it into your class.

Hope this helps


这篇关于我无法从vb.net与我的SQL连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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