HiveTool user and password explanation needed

2 posts / 0 new
Last post
Esa
Esa's picture
HiveTool user and password explanation needed

is the HiveTool user and password fields described somewhere, used for what ?

There are in the hive.conf
DATABASE_USER=
DATABASE_PASSWORD=
HIVETOOL_USER=
HIVETOOL_PASSWORD=

and in the HiveTool configuration page:
Communication
HiveTool Login:
HiveTool password:
local database:
Database User:
Database password:

Paul
Paul's picture
HiveTool user and password

HIVETOOL_USER and HIVETOOL_PASSWORD are used to send data to the database on hivetool.org
Near the bottom of hive.sh there is a curl command that uses them to upload the XML data file. If there are more than 5 bad login attempts per hour our new virtual server will blacklist your IP. If you cannot access hivetool.org, your IP has probably been blacklisted.

DATABASE_USER and DATABASE_PASSWORD were used on the local hive computer to access the local MySQL database to log data locally. We switched to SQLite and it doesn't use a user/password to insert rows. BUT the DATABASE_USER is used as a flag. If it is empty ("") then hive.sh won't store data to the local SQLite database. If there is anything in there (doesn't matter what - I usually put admin as that is the user for phpSQLiteadmin) then hive.sh will log to the local SQLite database.

These fields are stored in hive.conf and can me changed with a text editor. The same fields are displayed and can be edited with a browser pointed to configure.pl (the HiveTool configuration page).

Log in to post comments