简体   繁体   English

Vb.net与MySQL

[英]Vb.net with mysql

I'm making window based application using vb.net and mysql as backend. 我正在使用vb.net和mysql作为后端制作基于窗口的应用程序。

Does it require mysql to be installed on client machine to run application? 是否需要在客户端计算机上安装mysql才能运行应用程序?

是的,您需要将其安装在客户端PC上并将其设置为客户端

"Mysql" consists of two parts: a server portion, and a client portion. “ Mysql”由两部分组成:服务器部分和客户端部分。

Yes, you must install the client portion of mySQL on your VB client. 是的,您必须在VB客户端上安装mySQL的客户端部分。 If the MySQL server is remote, than you must also enable remote access. 如果MySQL服务器是远程服务器,则还必须启用远程访问。

Here are a couple of good tutorials: 这里有一些很好的教程:

Again, you do not need to install the entire MySql server on your VB.Net client. 同样,你也不需要你VB.Net客户端上安装整个MySQL服务器。

However, you do need to install any MySql connectors that VB.Net needs to talk to. 但是,您确实需要安装VB.Net需要与之交谈的所有MySql连接器。 You have several choices, including ODBC or MySql native. 您有多种选择,包括ODBC或MySql本机。 All things being equal, I'd recommend the native MySql connector. 在所有条件都相同的情况下,我建议使用本机MySql连接器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM