I can connect to the protomolecule database with these exact credentials through a PHP script. An attempt to install it in PhpStorm fails, as you can see in the picture.
If I changed the protomolecule database to the default postgres database, it communicates perfectly with PhpStorm. I canβt understand why the user can only connect to postgres and nothing else.
I tried setting up a new user and new databases to no avail.

Edit : Added PHP script working parameters specified below, as requested.
array( 'database' => 'protomolecule', 'driver' => 'Pgsql', 'hostname' => 'localhost', 'username' => 'postgres', 'password' => 'xxxxxxxxxxxxx', 'port' => '5432' )
source share