In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you about how the cloud server can remotely connect to the database. The article is rich in content and analyzed and described from a professional point of view. I hope you can get something after reading this article.
Take the SQL Server 2008 of the CVM as an example, remote connection is not allowed by default. If you want to use SSMS locally to connect to SQL Server 2008 on the remote server, connect to the database remotely. There are two parts that need to be configured:
1.SQL Server Management Studio Express (SSMS for short)
2.SQL Server configuration Manager / SQL Server ConfigurationManager (SSCM for short)
Settings for SSMS
1. Open sql2008 and log in as windows. After logging in, right-click "Properties". Select Security on the left and select SQL Server and Windows authentication modes on the right to enable mixed login mode.
two。 Select Connect, check allow remote connection to this server, and then click OK. Expand "Security", "login"sa", right-click "Properties".
3. Select "General" on the left, select "SQL Server Authentication" on the right, and set the password, right-click the database and select "aspect".
4. Select Server configuration in the drop-down box on the right, set the RemoteAccessEnabled property to True, and click OK. Now that SSMS has been set up, exit first, and then log in with sa. Success means that the sa account has been enabled.
Configuration of SSCM
1. Open the sql server configuration Manager, start configuring SSCM, select "SQLServer Services" on the left, and make sure that "SQLServer" and "SQLServer Browser" on the right are running.
two。 On the left, select the protocol of sqlexpress under the sql server network configuration node, and the TCP/IP on the right defaults to "No". Right-click or double-click to open the settings panel and change it to "Yes".
3. Select the "IP address" tab, set the port of TCP to "1433", change the "TCP/IP" of "client protocol" to "Enabled", complete the configuration, and restart SQL Server 2008.
You should be able to use it at this time, but you still need to make sure that the CVM firewall. Turn on the firewall settings. Add SQLServr.exe (C:\ Program Files\ Microsoft SQLServer\ MSSQL10.SQLEXPRESS\ MSSQL\ Binn\ sqlservr.exe) to the allowed list.
The above is how the CVM shared by Xiaobian connects to the database remotely. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.