Top  | Previous | Next

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

Examples

system.db.setDatasourceConnectURL("MySQL", "jdbc:mysql://localhost:3306/test")