Step1 下载并安装Oracle Express Edition
安装过程中需要设置system用户的密码
Step2 创建DB user
SQL> connect Enter User-Name: system Enter Password: xxxx
//创建用户 SQL> create user chris identified by <password-for-chris>; //授权 SQL> grant CREATE SESSION, ALTER SESSION, CREATE DATABASE LINK, - CREATE MATERIALIZED VIEW, CREATE PROCEDURE, CREATE PUBLIC SYNONYM, - CREATE ROLE, CREATE SEQUENCE, CREATE SYNONYM, CREATE TABLE, - CREATE TRIGGER, CREATE TYPE, CREATE VIEW, UNLIMITED TABLESPACE - to chris; //退出; SQL> exit
Step3 (可选)如果使用自带的HR数据库,必须先unlock预先自带的hr user.
SQL> ALTER USER hr ACCOUNT UNLOCK; SQL> ALTER USER hr IDENTIFIED BY <hr-password>; SQL> exit
unlock hr user的方法二:通过sql developer图形界面连接数据库后,--> other Users -> 选择HR用户后右键Editor User->取消勾选Account is Locked。
Step 4:使用Application Express创建应用。
参考文档: