Microsoft SQL Server
- 1 minute to read
The Microsoft SQL Server Adapter imports device information from arbitrary SQL servers.
The following parameters are required:
- Mssql Domain - The hostname / domain of the SQL server
- Mssql port - the port of the SQL server
- User Name - A user name with read-only permissions
- Password - The user's password
- Mssql Database - The database to connect to
- Mssql table - the name of the table to fetch information from
Creating A read-only user
To connect to the SQL Server in order to create the required user, you can use Microsoft SQL Server Management Studio. If you don't have it on your local machine, you can probably find it on the machine that SQL Server is installed on.
After connecting to the server, you should do the following:
- In case you don't have the name of your database, expand the Databases folder which shows all the databases in this server.
- Navigate to the Security folder and expand it. Right-click the Logins folder and choose New Login.
- After choosing New Login, create a user using "SQL Server Authentication". Fill in the details and select your database from the Default Database List.
4.Navigate to the User Mapping page, and check the check box for the database that your login can access. In the Database role membership list, leave the default option public selected, and select the db_datareader check box.
- Click OK to create the user.
- Reconnect with the new user to validate that it was indeed created (File -> Connect Object Explorer)