Change the database user in the server alias

For each Alfabet component, the connection to the Alfabet database the component connects to is defined in the server alias configuration of the component in the Database Settings tab of the server alias configuration. The server alias configuration is stored in the alfabetMS.xml file that must be located in the working directory of the component, or, for the Alfabet Web Application, at the location defined in the alfabet.config configuration file of the Alfabet Web Application.

For an existing server alias configuration, the user name and password for the database connection settings can be changed via AlfaAdministratorConsole.exe with the following command line:

The table below displays the command line options:

Command Line Option Mandatory/ Default Explanation
-ms_set_db_userpassword Mandatory To change the database user name and database user password in the database connection information in the server alias configuration:
  • -ms_set_db_userpassword
-msalias <alias name> Mandatory Enter the server alias name as specified in the AlfabetMS.xml configuration file for access to the database.
-msaliasesfile <Alfabet configuration file path> Optional If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter.
-DbUser <database user name> Mandatory Specify the user name for access to the Alfabet database on the database server. For Oracle® databases, the user name is identical to the schema name.
-DbPassword <database user password> Mandatory Specify the password for access to the Alfabet database on the database server.