I am looking to add a database in Ignition using - ‘system.db.addDatasource’ system function using the code examples given in the site. Here I am not able to connect my jdbc driver i,e of Microsoft SQLServer to my code and getting error as JDBC Driver not found.
Just to be clear, that doesn’t add a database, it “Adds a new database connection in Ignition”. The database must already exist.
Is there a way to add database in Ignition?
As far as I know, no.
You would normally create the database using your SQL management software - Microsoft SQL Management Studio for you, I think.
You should be able to by using a query - SQL CREATE/ALTER/DROP SCHEMA - w3resource
Will Check on adding new database connection.