PgAdmin does not support server connections

I am using pgAdmin III 1.18.1 on Ubuntu 12.04. Whenever I reboot my machine, pgAdmin does not remember the connections to the server. If I log in to the server and then close pgadmin3 and reopen it, the connections to the server are saved only when I reboot my machine that the connections are lost.

After making connections to the server and closing pgAdmin, I see that the .pgadmin3 file is created simply:

 benc@Ubuntu-T7400 :~$ ls -al | grep .pgadmin3 -rw-rw-r-- 1 benc benc 2088 Mar 28 11:57 .pgadmin3 

Restarting pgadmin3 will display my connections to the server. But if I reboot my machine, my .pgadmin3 file will be set to 0 bytes.

After rebooting Ubtuntu:

 benc@Ubuntu-T7400 :~$ ls -al | grep .pgadmin3 -rw-rw-r-- 1 benc benc 0 Mar 28 12:10 .pgadmin3 

Any idea what could be happening here?

+6
source share
1 answer

I also experienced the same problem. But I fixed this question by following.

  • There is no .pgadmin3 file in my home folder. So, I created it manually.

     vish@Ubuntu :~$ ls -al | grep .pgadmin3 -rw-rw-r-- 1 vish vish 0 Jul 31 13:01 .pgadmin3 
  • By default, the user will not have access to execute this file. Therefore, I gave full access to this file.

     vish@Ubuntu :~$ sudo chmod a+wx .pgadmin3 

    So now it will look like this:

     -rwxrwxrwx 1 vish vish 0 Jul 31 13:01 .pgadmin3 

Now everything is working well.

+7
source

All Articles