Changing the database connection
Use this procedure to change the connected database on an M3 environment.
- Right-click your environment and select Database > Change Database.
-
Perform either of these options depending on the status of the environment:
-
If the environment is running, the message "Set M3 BE in maintenance mode" is displayed. Click Next.
-
If the environment is stopped, the environment will be started in maintenance mode.
Note: The environment is in maintenance mode until the application is stopped, started, or set online.
-
-
Specify this information:
- Database server
-
Select a server in the list of available database servers.
- Database
-
Select a database or schema name in the list.
- Password
-
Specify the M3 BE user password for validation.
Note: If the selected database is the same as with the current database connection, a validation error message is displayed. If the selected database is connected to another environment, a notification message is also displayed. - Click Next. The Summary window is displayed.
- Verify the values provided and click Finish.
- When the task is finished, a window is displayed. Click OK or click View log. You can also go to the Logs tab to view the log file.
- On the dashboard, click Connected databases tab to verify that the new database is displayed. The environment must be able to start with the new database connection.