mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
37 lines
923 B
SQL
37 lines
923 B
SQL
/*
|
|
This first section is optional, however its probably the best method
|
|
of running phpBB on Oracle. If you already have a tablespace and user created
|
|
for phpBB you can leave this section commented out!
|
|
|
|
The first set of statements create a phpBB tablespace and a phpBB user,
|
|
make sure you change the password of the phpBB user before you run this script!!
|
|
*/
|
|
|
|
/*
|
|
CREATE TABLESPACE "PHPBB"
|
|
LOGGING
|
|
DATAFILE 'E:\ORACLE\ORADATA\LOCAL\PHPBB.ora'
|
|
SIZE 10M
|
|
AUTOEXTEND ON NEXT 10M
|
|
MAXSIZE 100M;
|
|
|
|
CREATE USER "PHPBB"
|
|
PROFILE "DEFAULT"
|
|
IDENTIFIED BY "phpbb_password"
|
|
DEFAULT TABLESPACE "PHPBB"
|
|
QUOTA UNLIMITED ON "PHPBB"
|
|
ACCOUNT UNLOCK;
|
|
|
|
GRANT ANALYZE ANY TO "PHPBB";
|
|
GRANT CREATE SEQUENCE TO "PHPBB";
|
|
GRANT CREATE SESSION TO "PHPBB";
|
|
GRANT CREATE TABLE TO "PHPBB";
|
|
GRANT CREATE TRIGGER TO "PHPBB";
|
|
GRANT CREATE VIEW TO "PHPBB";
|
|
GRANT "CONNECT" TO "PHPBB";
|
|
|
|
COMMIT;
|
|
DISCONNECT;
|
|
|
|
CONNECT phpbb/phpbb_password;
|
|
*/
|