I am able to connect to the protomolecule
database with these exact same credentials through a PHP script. Trying to set it up in PhpStorm fails as you can see in the picture.
If I change the protomolecule
database to the default postgres
database it connects just fine in PhpStorm. I can't figure out why the user can only connect to postgres
and nothing else.
I've tried setting up a new user and new databases to no avail.
Edit: Added the working PHP script settings below, as requested.
array(
'database' => 'protomolecule',
'driver' => 'Pgsql',
'hostname' => 'localhost',
'username' => 'postgres',
'password' => 'xxxxxxxxxxxxx',
'port' => '5432'
)
In the image there is an url given. It states that this "overrides settings above". In the url there is no username/password. Can you try adding username (and maybe password too) to the url - or empty the url field.
Check if
localhost:5432/protomolecule
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With