Differences
This shows you the differences between two versions of the page.
— |
linux_wiki:mysql_mariadb_cacti [2019/09/07 11:09] (current) billdozor created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Mysql Mariadb Cacti PW Reset ====== | ||
+ | |||
+ | Resetting mysql/ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== MySQL/ | ||
+ | |||
+ | To reset a forgotten root password on MySQL/ | ||
+ | |||
+ | * Determine if it is mysql vs mariadb< | ||
+ | * Stop the database | ||
+ | * MariaDB< | ||
+ | * MySQL< | ||
+ | * Start the database manually, skipping grants and networking< | ||
+ | * Login as root (should not be prompted)< | ||
+ | * Set new root password for the database< | ||
+ | * Flush privileges< | ||
+ | * Exit the database< | ||
+ | * Stop the database, using the newly set pw(prompted)< | ||
+ | * Start the database server with normal settings | ||
+ | * MariaDB< | ||
+ | * MySQL< | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Cacti ====== | ||
+ | |||
+ | Resetting the cacti local admin pw. | ||
+ | |||
+ | * Login to the cacti database< | ||
+ | * Requires knowledge of the mysql root pw | ||
+ | * Set a new password for the cacti admin< | ||
+ | |||
+ | ---- | ||