FlyingParrot
New Pleskian
- Server operating system version
- Ubuntu 22.04.5 LTS
- Plesk version and microupdate number
- Plesk Obsidian 18.0.69 #2
Hey,
is there any way to auto-create postgresql databases using php? I'm developing a multi-tenancy-software and it's required to create databases for each tenant they need one. How do I configure that in Plesk? Is that even possible?
I'm getting the php error "SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied to create database" but I couldn't find any settings for this in plesk. Maybe it's possible manually via SSH?
Thanks.
is there any way to auto-create postgresql databases using php? I'm developing a multi-tenancy-software and it's required to create databases for each tenant they need one. How do I configure that in Plesk? Is that even possible?
I'm getting the php error "SQLSTATE[42501]: Insufficient privilege: 7 ERROR: permission denied to create database" but I couldn't find any settings for this in plesk. Maybe it's possible manually via SSH?
Thanks.