5.2.1 Procedure 4: Upgrading Application
Table 5-2 Procedure 4: Upgrading Application
| STEP # | This procedure upgrades the MySQL application on the server.Check off ( ✓ ) each step as it is completed. Boxes have been provided for this purpose under each step number. SHOULD THIS PROCEDURE FAIL, CONTACT MY ORACLE SUPPORT AND ASK FOR ASSISTANCE. | |
|---|---|---|
|
1. ☐ |
Linux server: Stop MySQL replication |
|
|
2. ☐ |
Linux server: Backup the my.cnf file |
Copy the /etc/my.cnf file to /var/tmp/ directory
|
|
3. ☐ |
Linux server: Create mysql1 directory if not exist |
|
|
4. ☐ |
Linux server: If upgrading MySQL using DVD, otherwise skip this step |
Insert the Upgrade Media into the DVD drive of Linux server. Run the following command:
Go to step 6. |
|
5. ☐ |
Linux server: Mount the ISO if upgrading MySQL using iso |
First copy the MySQL ISO to /tmp directory of query server. Login on query server as root user and run the following commands: Example:
|
|
6. ☐ |
Linux server: Upgrade MySQL package |
|
|
7. ☐ |
Linux server: Unmount the ISO if upgraded MySQL using ISO, otherwise skip this step |
After completing the upgrade of MySQL, unmount the ISO: |
|
8. ☐ |
Linux server: Eject the media if upgraded MySQL using DVD, otherwise skip this step |
After completing the upgrade of MySQL, eject the DVD and return the media to its case: |
|
9. ☐ |
Linux server: Check ownership of mysql1 directory |
Change the ownership and permission of mysql1 directory in /usr by using the following commands: Verify once more that the ownership and permission has been changed.
|
|
10. ☐ |
Linux server: Modify MySQL configuration file |
Run the following command:
Copy the content of Procedure 3 step 9 in my.cnf file and save it. |
|
11. ☐ |
Linux server: Stop MySQL if running |
|
|
12. ☐ |
Linux server: Reset the password |
|
|
13. ☐ |
Linux server: Upgrade complete |
Upgrade and configuration are now complete. Go to next step in Table 6. |
|
End of Procedure |
||
THIS COMPLETES THE UPGRADE