Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Please ensure that the database user used to deploy Open Specimen has the following privileges. Failing to grant any of the mentioned privileges will result in deployment failure. The attribute username on this page defines the username of the database and not the login name used to log on to Open Specimen.

Table of Contents

MySQL

Port

Default port: 3306

If MySQL is on a different server then you also need to open the MySQL port for communicating with OpenSpecimen

Privileges

Either the user should be a MySQL root user or have the following privileges

  1. ALTER
  2. ALTER ROUTINE
  3. CREATE
  4. CREATE ROUTINE
  5. CREATE VIEW
  6. DELETE
  7. DROP
  8. EXECUTE
  9. INDEX
  10. INSERT
  11. LOCK TABLES
  12. SELECT
  13. TRIGGER
  14. UPDATE
  15. REFERENCES

...

If Oracle is on different servers, then you also need to open the Oracle port for communicating with OpenSpecimen.

Privileges

Either the user should be an Oracle sysdba user or have the following privileges

  1. CONNECT
  2. RESOURCE
  3. CREATE ANY TABLE
  4. DROP ANY TABLE
  5. CREATE ANY TRIGGER
  6. DROP ANY TRIGGER
  7. CREATE ANY VIEW
  8. DROP ANY VIEW
  9. CREATE ANY PROCEDURE
  10. DROP ANY PROCEDURE
  11. CREATE ANY SEQUENCE
  12. DROP ANY SEQUENCE

The use of ANY allows user to perform the operation in any schema. Droping ANY will restrict users to perform the aforementioned operations only within their own schema.

SQL:

GRANT CONNECT, RESOURCE, CREATE ANY TABLE, DROP ANY TABLE, CREATE ANY TRIGGER, DROP ANY TRIGGER, CREATE ANY VIEW, DROP ANY VIEW, CREATE ANY PROCEDURE, DROP ANY PROCEDURE, CREATE ANY SEQUENCE, DROP ANY SEQUENCE TO <USERNAME>

...