Create a database connection
Create a database connection for data grid to retrieve data from a SQL Server database.
To create a database connection
- In theFactoryTalk Administration ConsoleorFactoryTalk View StudioExplorer window,expand the foldersSystem>Connectionsand then right-click theDatabasesfolder. ClickAdd Database Connection.
- On theDatabase Connectiontab, in theDatabase typelist, selectFactoryTalk View SE Data Grid Database.
- In theDefinition nametext box, specify the name for the collection of data.
- In theServer name\instancetext box, specify the host name of the computer where the specified database resides, or the SQL Server instance name on the computer in the following format:ComputerName\InstanceName.You can also click theBrowsebutton to search for the computer that supports the specified database type.
- Configure the sign-in and encryption settings.
- In theAuthenticationlist:
- SelectWindows Authenticationto use the currently logged-on user to log on to the database. To implement Windows-based authentication for SQL Server, clickConfigure Windows Authentication.
- Select,SQL Server Authenticationto specify an existing database user name (must be a SQL Server authenticated user with administrative rights)and then type the password for the database user name specified.
- Configure the encryption.
- IfEncrypt connectionis selected:
- WhenTrust server certificateis cleared, the HMI server or alarms and events server starts the certificate handshake process to validate the certificate on the SQL Server computer. If the certificate is not present or if the validation of the certificate fails, the connection is closed.For more information, see Configure the certificate for encrypted connection to the database.Important: In cases where theTrust server certificatesetting is cleared, if SQL Server is used for FactoryTalk View SE data grids, you must configure the certificate for the HMI server. If SQL Server is used for alarms and events, you must configure the certificate for the alarms and events server.
- WhenTrust server certificateis selected, the HMI server or alarms and events server does not validate the certificate on the SQL Server computer.
- IfEncrypt connectionis cleared, theTrust server certificatesetting is ignored.
- In theDatabase nametext box, specify the name of the database that you want to retrieve data from.You can also click theBrowsebutton to search for the available databases located on the specified computer.TIP:Only existing databases can be specified for the Data Grid connection.
- ClickOK.
Provide Feedback