The default Uptime Infrastructure Monitor installation is configured with the following MySQL users:
- root (password: uptimerocks)
The root user has complete control over the database.
- uptime (password: uptime)
The uptime user is a privileged local user who can create, delete, flush and drop tables; create and delete table indices; and select, insert and delete data in tables. This user can not login remotely or perform administrative tasks such as creating MySQL users or killing threads.
- reports (password: reports)
The reports user can remotely perform queries in the Uptime Infrastructure Monitor DataStore and may be used by an Uptime Infrastructure Monitor Reporting Instance or by a third party reporting tool that connects to Uptime Infrastructure Monitor via ODBC.
For information on setting up an ODBC driver, see Connecting to the Uptime Infrastructure Monitor DataStore via ODBC.
Change Passwords for the Default Users
The default passwords for the three Uptime Infrastructure Monitor user accounts should be changed by following these steps:
At the command prompt on the monitoring station, login to MySQL as the root user by typing:
where: uptimerocks is the password for the root user
Next, change the password by typing:
- SET PASSWORD is the MySQL command that assigns or changes a password to a user account.
- user is the user name for which you want to change the password.
- PASSWORD (); is the MySQL function that encrypts the new password.
- new_password is the updated password.
- Repeat the SET PASSWORD statement for each MySQL user listed in the Uptime Infrastructure Monitor user guide.
If you want to limit the domains from which users can access the database, type the following command:
where: domain_name is the domain or IP address from which the user will be allowed to access the database (if the user attempts to access the database from a different domain or IP address, that user will not be able to log in).