MSSQL is one of the external data sources you can use on the Kuika platform. You can quickly connect an MSSQL database you own as a data source to an application you develop in Kuika. With this training content, you will learn how to connect a data source to your application using MSSQL.
This training content consists of the following topics:
Related Fields for Configuration
Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;Encrypt=true;Connection Timeout=30;
"Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;"This connection will work smoothly when the user information is entered correctly in the "myServerAddress", "myDataBase", "myUsername", "myPassword" fields.
1. Use TLS 1.2 : You must use version 1.2 of the TLS protocol to secure your data communication.
2. SQL Server Browser Settings : For SQL Server Browser to work, port 1433 on your server must be open.
3. Allow External IPs : Your server must allow external IP addresses. If you only want to allow certain IPs, just allow the platform's IP address.
4. Test Connection String: Test Connection String over an external network first. This test verifies that your connection is accessible from the outside world.
5. SQL Configuration Manager Settings: In SQL Configuration Manager, enable the "TCP/IP" protocol in the "Client Protocols" section. Also, the "Named Pipes" protocol must be enabled. If these two protocols are not enabled and were enabled later, you will need to restart SQL Server for the changes to take effect.
The inability to see tables in an MSSQL database is usually caused by server migration. With Azure Data Studio, you can connect to the server to check the existing tables and perform the necessary operations.
You can follow the steps below to see the tables in the MSSQL database with Azure Data Studio:
Download and Install Azure Data Studio:
Connect to the Server:
Select the database:
View Tables:
View Table Data with Queries:
SELECT * FROM [TableName];
By following these steps, you can view your MSSQL tables with Azure Data Studio.