-
Notifications
You must be signed in to change notification settings - Fork 9
PostgreSQL
naudefj edited this page May 14, 2023
·
1 revision
FUDforum provides out of the box support for PostgreSQL (PgSQL) databases.
One of the following PHP drivers must be implemented to enable Postgres support:
- pgsql
- pdo_mysql (Portable Data Objects interface)
Create the initial database with pgAdmin or one of the below methods:
Method 1:
postgres=# create database fuddb; CREATE DATABASE postgres=# create user fuduser; CREATE ROLE postgres=# alter role fuduser with password 'your_secret_password'; ALTER ROLE postgres=# grant all privileges on database fuddb to fuduser; GRANT postgres=# alter database fuddb owner to fuduser; ALTER DATABASE
Method 2:
cd postgresql/bin ./createuser -U postgres fuduser -S -D -R -P ./createdb -U postgres fuddb -O fuduser
[
Home
]
[
Features
]
[
Installation
]
[
Upgrading
]
[
Administration
]
[
Support
]
[
Internals
]
Mirror for robots like Google that cannot index GitHUB Wiki Pages: https://github-wiki-see.page/m/fudforum/FUDforum/wiki_index