My Oracle Support Banner

Oracle VM 3: How to change the password for Oracle VM Manager MySQL database (Doc ID 2073368.1)

Last updated on JANUARY 11, 2024

Applies to:

Oracle VM - Version 3.2.1 to 3.4.6 [Release OVM32 to OVM34]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Goal

Normally, the passwords for the various components such as the Oracle VM Manager, the WebLogic Server and MySQL database are all set using the same password during the initial install of Oracle VM Manager; it is unusual for passwords to be different.  However, there are times when customers want to change the MySQL password or they have forgotten the password for MySQL and want to reset it.  

The password that the Oracle VM Manager uses to connect to the MySQL database must also be changed in conjunction with the password change for MySQL.

This note explains how to change the database password in Oracle VM Manager as well as the MySQL database so they both match.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Overview
 Step 1: Modify database password in Oracle VM Manager
 Step 1.1: Gather database information
 Step 1.2: Modify the datasource password
 Step 1.3: Shut down the Oracle VM Manager
 Step 2: Modify database password in MySQL
 Step 2.1: Create a temporary init file
 Step 2.2: Start MySQL service using temporary init file:
 Step 2.3: Delete the temporary init file
 Step 3: Validate Oracle VM Manager is working correctly
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.