system.db.setDatasourceConnectURL
Description
Changes the connect URL for a given database connection.
Syntax
system.db. setDatasourceConnectURL( name, connectUrl )
-
Parameters
String name - The name of the database connection in Ignition.
String connectUrl - The new connect URL.
-
Returns
nothing
-
Scope
All
Code Examples
Code Snippet
#Example 1:
system.db.setDatasourceConnectURL(
"MySQL"
,
"jdbc:mysql://localhost:3306/test"
)