I just updated an older post about Rails + Oracle DB and wondered why my rake db:create db:migrate
asks me for the SYS/SYSTEM password of the Oracle DB. The Oracle user I have configured at config/database.yml
has these permissions:
GRANT CREATE SESSION TO my-user;
GRANT ALTER SESSION TO my-user;
GRANT CREATE SEQUENCE TO my-user;
GRANT CREATE SYNONYM TO my-user;
GRANT CREATE VIEW TO my-user;
GRANT CREATE TABLE TO my-user;
GRANT GATHER_SYSTEM_STATISTICS TO my-user;
GRANT CREATE PROCEDURE TO my-user;
GRANT CREATE TRIGGER TO my-user;
GRANT CREATE DATABASE LINK TO my-user;
GRANT CREATE TYPE TO my-user;
This is what Rails is prompting me for:
Please provide the SYSTEM password for your Oracle installation (set ORACLE_SYSTEM_PASSWORD to avoid this prompt)
I do not understand why, as my-user
should have all permissions needed for its own schema.
Any ideas?