SetDBParameters

<< Click to Display Table of Contents >>

 

SetDBParameters

SetDBParameters(ServerName, UserName, Password, [DBName], [Port])

A connection String with a Database server in the properties of a Database object. The ServerName parameter determines the name of a server. The UserName parameter determines the name of a user. The Password parameter determines a password to connect to this database. The DBName parameter is the name of a database used in a SQL Server. For other databases, this parameter is not used and can be omitted. The Port parameter determines a TCP/IP port to connect to a MySQL or PostgreSQL server. The default value of this parameter is 0 (zero) and it can be omitted for other types of databases.

 

NOTE

For the Port parameter, leaving it in 0 (zero, default) configures the TCP/IP port of the connection to 3306 if the database server is MySQL and to 5432 if the database server is PostgreSQL.

Was this page useful?