article Securing the up.time MySQL Database

Related Documentation Version of up.time Affected Affected Platforms

All All

Database Users

The default up.time 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 up.time DataStore and may be used by an up.time Reporting Instance or by a third party reporting tool that connects to up.time via ODBC.

    For information on setting up an ODBC driver, see Connecting to the up.time DataStore via ODBC.

Change Passwords for the Default Users

The default passwords for the three up.time user accounts should be changed by following these steps:

  1. At the command prompt on the monitoring station, login to MySQL as the root user by typing:

    mysql -uroot -puptimerocks -P3308 --protocol=tcp


    where: uptimerocks is the password for the root user
  2. Next, change the password by typing:

    mysql> SET PASSWORD FOR `user'@'localhost' = PASSWORD (new_password);


    where:
    • 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.
  3. Repeat the SET PASSWORD statement for each MySQL user listed in the up.time user guide.
  4. If you want to limit the domains from which users can access the database, type the following command:

    SET PASSWORD FOR `user'@'domain_name' = PASSWORD (new_password);


    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).

Related Articles


Default MySQL Database Users and Permissions

RatingViews
article

This article outlines the MySQL database users that are installed with up.time and their permissions

By: uptime Support | Date Created: 7-6-2007 | Last Modified: 6-28-2011 | Index: 211

  3776

How to monitor MySQL Databases with up.time

RatingViews
article

Find out how to use up.time to effectively monitor your MySQL servers and database structures.

By: uptime Support | Date Created: 5-17-2007 | Last Modified: 6-28-2011 | Index: 176

  11380

Shrinking your MySQL DataStore

RatingViews
article

At times it may be necessary to reduce the disk space that your MySQL DataStore consumes on your monitoring station. The process of reducing your DataStore size follows the general steps that are...

By: uptime Support | Date Created: 7-31-2006 | Last Modified: 2-19-2014 | Index: 088

  11558

Converting the up.time database from MySQL to SQL Server

RatingViews
article

In order to keep your historical information and change your MySQL database to SQL Server please do the following steps: 1) Stop the data collector Unix: # /etc/init.d/uptime_core stop...

By: uptime Support | Date Created: 10-10-2009 | Last Modified: 8-13-2011 | Index: 418

  2854

Migrating Your DataStore To a New Database

RatingViews
article

This article outlines how to move your DataStore between different database types.

By: uptime Support | Date Created: 2-21-2007 | Last Modified: 6-30-2011 | Index: 142

  4779

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement