Xplenty can read data from your Microsoft SQL Server databases or write data to them. This article discusses providing Xplenty access on your Microsoft SQL Server database and then details creating the SQL Server database connection in Xplenty.
You must provide Xplenty access to your Microsoft SQL Server database. If it is behind a firewall:
- Create a user and grant it minimum permissions required for Xplenty to read or write data from the database.
- Allow access from Xplenty's IP addresses to your SQL Server database port (Refer to this article if you'd prefer to create an SSH tunnel or reverse SSH tunnel.)
To create a Microsoft SQL Server database connection in Xplenty:
- Click the Connections icon (lightning bolt) on the top left menu.
- To create a connection, click New connection.
- Choose SQL Server and name the connection.
- Select your access type (direct connection if you've whitelisted Xplenty's IP addresses.)
- Enter your SQL Server database server name as the hostname.
- Enter the database name.
- Enter the user name. Use the pattern user@server_name as the user name.
- Enter the user's password.
- Click Test Connection to make sure the connection details are correct.
- Click Create connection to create the connection.