Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, is it necessary to run “sudo /etc/init.d/postgresql restart” after modifying pg_hba.conf?
@hsiaoshunwen you can reload the config file in a couple ways:
Restart db server: “sudo service postgresql restart”
Use pg_ctl: “sudo -u postgres pg_ctl reload [-D DATADIR]”, reload the config files without a full restart.
Use pg_ctlcluster: “sudo -u postgres pg_ctlcluster [version] [cluster] [action]” where action is reload. pg_lsclusters will give you those three params.
When running the line sudo htpasswd -c /etc/phpPgAdmin/.htpasswd username it is saying htpasswd: cannot create file /etc/phpPgAdmin/.htpasswd
Any ideas what im doing wrong?
Kind regards, Simon
Im getting this error message when attempting to visit the site The requested URL /phpPgAdmin was not found on this server. Any ideas?
@swhitehouse do you have permission to create the file? Make sure you’re running the command through sudo. Did you install the phppgadmin package and restart apache?
This is for ‘swhitehouse’ and others:
'sudo htpasswd -c /etc/phpPgAdmin/.htpasswd username'
Should read:
'sudo htpasswd -c /etc/phppgadmin/.htpasswd username'
After setting up a password for the ‘phppgadmin’ page and the you go to ‘<your IP>/phppgadmin’ and its not bringing up the login dialog then change:
<Directory "/usr/share/phpPgAdmin">
AuthUserFile /etc/phpPgAdmin/.htpasswd
AuthName "Restricted Area"
AuthType Basic
require valid-user
</Directory>
to:
<Directory "/usr/share/phppgadmin">
AuthUserFile /etc/phppgadmin/.htpasswd
AuthName "Restricted Area"
AuthType Basic
require valid-user
</Directory>
Hi,
I`m on Accessing phpPgAdmin step,
but /etc/postgresql/9.1/main/pg_hba.conf dont exists
Someone can help me.
Thanks