The connection of SqlServer data is similar to the connection of databases such as mysql, but there are some differences. If the database you are using is SqlServer, I hope it can help you.
To connect to the SqlServer database, you do not have to use Microsoft's own database management tool. SqlServer can also use Navicat. (Recommended tutorial: navicat tutorial)
Your SqlServer database needs to allow remote connections first, otherwise you will not be able to connect to your database. If you don't know how to allow remote connections, you can find some information to get the solution.
Select the content shown in the figure below, Select the SqlServer data and connect.
#Next, after completing the basic settings, you can use Navicat to connect to your database.
The default user name of the database is sa. You can use sa to connect.
When you install SqlServer, you need to select hybrid authentication so that you can log in using this method.
Next, you can test whether you can connect to your database and save the connection after passing the test.
You only need to double-click the database to connect directly to your database.
The above is the detailed content of How to connect navicat to sql server. For more information, please follow other related articles on the PHP Chinese website!