Linux上的MySQL

编程入门 行业动态 更新时间:2024-10-27 19:29:30
本文介绍了Linux上的MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在Linux操作系统(Fedora Core 10)上配置了MySQL数据库服务器,该服务器是使用VM Ware安装的.如何将在Visual Studio(Windows)上运行的C#应用​​程序链接到Linux上的数据库?最特别是在建立连接时,由于数据库位于网络"上,因此数据库的来源是什么? 谢谢

I have MySQL database server configured on my Linux OS (Fedora Core 10), which was installed using VM Ware. How can I link my C# application running on Visual Studio( Windows) to my database on Linux? Most especially when setting up connection, what will be the source of my database since it is on a "network"? Thanks

推荐答案

使用Linux VM实例的IP地址作为服务器/主机/数据源,具体取决于连接字符串 [ ^ ] . Use the IP address of the Linux VM instance as the Server/Host/DataSource depending on the connection string[^] you are using.

更多推荐

Linux上的MySQL

本文发布于:2023-07-27 00:28:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1219234.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Linux   MySQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!