mysql数据库可以通过VPN访问吗?
我有 2 台电脑。两者都以 w7 作为操作系统。我在其中一台上安装了 wampserver。 我在 wampserver 上有 mysql 数据库。 然后我制作了一个vb.net程序来连接mysql数据库。我已将程序安装到两台计算机上。 我想要做的是让这两个程序看到一台计算机上的相同数据库。让他们能够添加、删除、更新该 1 个数据库。 我该怎么做? mysql数据库如何联网?我还必须在另一台计算机上安装 wampserver 吗? 我该怎么办?请赐教。
I have 2 computers. Both with w7 as os. I have installed wampserver on one of them.
I have mysql database on wampserver.
Then I have made a vb.net program to connect to mysql database. I have put the program on both computers.
What I want to do is for those two programs to see the same database that is on one computer. For them to be able to add, delete, update that 1 database.
How do I do that? How do I network the mysql database? Do I also have to install wampserver on the other computer?
What do I do? Please enlighten me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MySQL 是一个数据库管理系统,它将响应 ODBC(和等效的)连接。获取运行 MySQL 数据库的计算机的名称,然后转到 http://www.connectionstrings.com/ mysql 查找要在 System.Data.OleDBConnection 连接字符串中使用的适当连接字符串。
MySQL is a database management system which will respond to ODBC (and equivalent) connections. Get the name of your computer that is running the MySQL database, and go to http://www.connectionstrings.com/mysql to find an appropriate connection string to use in the System.Data.OleDBConnection connection string.