I have downloaded Ignition Gateway version-8.1.31 for my 64 bit windows 10 computer, I am new to this software and when I tried to follow the documentation and connect to the local database I was unable to do so. The status of the database I'm trying to connect is shown as faulted. I also made sure that there was no problem with the firewall or network and still it didn't work. Can you please help me with this?
Can you connect to the database with any other tools?
I was trying to connect it to SQL Server management Studio as per our requirements.
Do you get any kind of error message, or does it just show as 'faulted'? Can you try to give us more details?
It either shows faulted or reconnecting
As a newbie myself I would double check
JDBC driver
connect URL is within reach
Or double check DB password...
- You didn't answer the question. Were you able to connect using SQL Managemet Studio?
- Please describe your setup more clearly. Is SQL Server on the same machine as the Ignition gateway or on a different machine?
- What version of SQL Server are you using?
- I was unable to connect using SQL Management Studio.
- Yes, the SQL Server is on the same machine as the Ignition Gateway.
- I'm using Microsoft SQL Server Management Studio - 19.0.2 version
Your database connection will eventually throw an error in the gateway logs(status>logs) can you post it here.
- What is address 231.1.1.1? It's an Internet public address - not a private address. Any private network addresses should be in one of the ranges,
- 192.168.0.0
- 172.16.0.0 to 172.31.0.0
- 10.0.0.0
- What is the configuration of the SQL Server? If it is on the same machine then
localhost
would be the normal configuration. (Usually the database is installed on a different machine to avoid performance issues.) - What are you using SQLite for? You can't use it for Historian as it doesn't have a DATETIME datatype needed for the t_stamp column. It is only intended for saving configuration information.
- 231.1.1.1 is a multicast address. The multicast addresses range is 224.0.0.0 through 239.255.255.255
Are you connecting to SQL Express or full blown SQL Server?
I'm connecting to the SQL Express Service
Check the instance name. Express uses a different one from standard.
When you connect to it with SQL Studio what is the instance it is using to connect?
Have you turned on Allow Remote Connections?
AFAIR, Express has that turned OFF by default.
The instance is localhost
But is it necessary to enable 'Allow Remote Connections' since my SQL Server and the Ignition Gateway is on the same machine?