问题描述
大家好,
我在ubuntu服务器的VM上运行我的服务器。
i在视觉工作室内打开数据库,这一切都进行了好的,我可以看到表格,编辑它们并保存。
问题是当我试图从程序内部访问服务器时出现此错误:
网络相关或特定于实例建立与SQL Server的连接时发生错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:命名管道提供程序,错误:40 - 无法打开与SQL Server的连接)
事情是我发现的所有解决方案都适用于Windows。 />
请帮帮我们
顺便说一句。
流程已全部运行
tcp 0 0 192.168.1.107:mysql *:* LISTEN 1098 / mysqld
我禁用了防火墙
防火墙在系统启动时停止和禁用
谢谢
hello guys,
im running my server on VM of ubuntu server.
i opend the db inside visual studio and it all went fine, i can see the tables, edit them and save.
problem is when im trying to access the server from inside the program i get this error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
thing is all the solutions that i found were for windows.
please help me out guys
btw.
the process is allready running
tcp 0 0 192.168.1.107:mysql *:* LISTEN 1098/mysqld
and i disabled the firewall
Firewall stopped and disabled on system startup
thanks
<code></code>
推荐答案
这篇关于尝试从ubuntu服务器访问mysql数据库时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!