For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to change passwords

Default Usernames and Passwords

System
Username
Default Password

Linux

nidb

password

MariaDB

root

password

MariaDB

nidb

password

NiDB

admin

password

How to change Linux password

As the root user, run

passwd nidb

-or- as the nidb user, run

passwd

How to change MariaDB passwords

The MariaDB root account has the hostname localhost. The MariaDB nidb account has the hostname %.

Log in to MariaDB as root

mysql -uroot -p

Then change the password(s)

ALTER USER 'root'@'localhost' IDENTIFIED BY 'newpassword';
ALTER USER 'nidb'@'%' IDENTIFIED BY 'newpassword';

If you have installed phpMyAdmin, login to http://localhost/phpMyAdmin using the root MariaDB account and password. Go to the User Accounts menu option. Then click Edit privileges for the root account with the hostname localhost, or the nidb account with the hostname %. Then click Change password button at the top of the page. Enter a new password and click Go

If you change the MariaDB nidb password, it must also be updated in the config file. Use one of the following methods to change the [mysqlpassword] config variable

  • Edit /nidb/nidb.cfg to reflect the new password

  • Go to Admin --> Settings in the NiDB website to edit the config variables

The MariaDB root password is not stored in the config file. It is entered on the setup page when installing or upgrading NiDB.

How to change NiDB admin password

When logged in to NiDB as admin, go to My Account. Enter a new password in the password field(s). Click Save to change the password.

Last updated

Was this helpful?