You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

\n \n \n \n \n \n \n \n \n \n \n \n \n \n
Related \nDocumentationVersion \nof up.time AffectedAffected Platforms

\n
AllAll
\n \n

Database Users

\n \n

The default up.time installation is configured with the following MySQL users:

\n \n
    \n
  • root (password: uptimerocks)
  • \n

    The root user has complete control over the database.

    \n
  • uptime (password: uptime)
  • \n

    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.

    \n \n
  • reports (password: reports)
  • \n

    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.

    \n \n

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

\n \n

Change Passwords for the Default Users

\n \n

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

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

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

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

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

    \n \n
    where: \n
      \n
    • SET PASSWORD \nis the MySQL command that assigns or changes a password to a user account.
    • \n
    • user is the user name for which you want to change the password.
    • \n
    • PASSWORD (); \nis the MySQL function that encrypts the new password.
    • \n
    • new_password \nis the updated password.
    • \n
    \n \n
  4. Repeat the SET PASSWORD statement for each MySQL user listed in the up.time user guide.
  5. \n
  6. If you want to \nlimit the domains from which users can access the database, type the following command:
    \n \n

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

    \n \n
    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 \ndifferent domain or IP address, that user will not be able to log in).
  7. \n
  • No labels