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 UIM 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.
Changing passwords for the default users
The default passwords for the three UIM 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
mysql -uroot -puptimerocks -P3308 --protocol=tcp
uptimerocks
is the password for the root user. - Next, change the password by typing:where:
mysql> SET PASSWORD FOR `user'@'localhost' = PASSWORD (new_password);
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 UIM user guide. - If you want to limit the domains from which users can access the database, type the following command:where:
SET PASSWORD FOR `user'@'domain_name' = PASSWORD (new_password);
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).