gpt4 book ai didi

sql-server - Linux SQL 服务器 : how to allow remote connections?

转载 作者:行者123 更新时间:2023-12-04 18:26:26 25 4
gpt4 key购买 nike

如何在 SQL Server @ Linux (ubuntu 16 04) 上允许远程连接?

最佳答案

默认情况下是允许的,但对于 sa 等管理员用户则不允许。我不建议这样做,但您可以在服务器上运行:

sp_configure @configname = 'remote admin connections', @configvalue = 1;
GO
RECONFIGURE
GO

同时检查您的防火墙和网络配置是否阻止了连接。 nmaptelnet等工具会帮你检查sql端口是否开放(默认端口:1433)

关于sql-server - Linux SQL 服务器 : how to allow remote connections?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51325878/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com