pgAdmin 4 error in creating a new server. (could not connect to server: connection refused) - postgresql

I have downloaded postgreSQL version 11.1 on my MacBook version 10.14.2, while installing I got an error says the following:
" Problem running post-install step. Installation may not complete correctly The database cluster initialization failed." and then clicked on next. (Mentioned this, just in case if it is related to my problem)
The problem I have now is, I can't view anything under servers, and whenever I try to create a new server it shows me this message.
screenshot of error message
I'm new to this and don't know what to do, any idea what should be done?

Related

Postgresql application server cannot be started

After Installing Postgresql, when I open pgadmin 4, It shows " The application server cannot be started" error.
I tried all ways by reinstalling postgresql and delete the pgadmin folder from appdata\Roaming.
Even I cant restart the service, It automatically stop once I started and stop the service from task manager also and also changes the port number. Its not working.. I am struck.. Please help me to solve the issue.

Postgresql and ssl start up error

I am new to freenode and postgresql. I am trying to migrate from mysql to postgresql. Currently trying to set up server for ssl. Have created my server certs and configured the .conf files for ssl according to the manual as far as I can see. Trying to restart postgre sql service fails. Windows event log gives me an event ID of 0 and says
pg_ctrl could not start server examine the log output.
I can't find any log detailing the failure to start in the postgresql folders.
I have tried to register the pgevent.dll as advised by the postgresql manual (18.11 of most recent version), but I get an error message
The module "C:postgreSQL\pg10\lib\postgresql\pgevent.dll" was loaded but the entry-point DllRegisterServer was not found
I believe that means it is either not a registrable dll or it's corrupt.
Can anyone please advise how I can track on Windows the error that is causing Postgre to fail to start?

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure & database disappeared & sql cmd line auto close

After running CCleaner and trying to debug a fix an Oauth password encryption type error, I have this error:
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure
and all the local databases seemed to have disappeared
I tried to create a new database with MYSQL command line. After entering my password, there was a error and the window closed.
I have tried many solutions to debug the errors e.g. setting
compile('org.hibernate:hibernate-core')
compile('org.hibernate:hibernate-entitymanager')
to resolve an EntityFactory error which lead to this error I think.
I also tried killing the process on port 3306. But I couldn't think of any other options. Any suggestions for next steps would be...?
Apparently mysql service stopped working at some point without me realizing. The solution was going to Start -> type 'service.msc' -> run mysql80 (stands for mysql version 8.0 I think).

PostgreSQL connection issue

I am new to PostgreSQL and I am trying to create a connection but I don't know for some reason my connection is not being established.
At first it said that cant hear the server so whenever I go in to task manager and try to run Postgres servers it says "THE SYSTEM CAN NOT FIND THE FILE SPECIFIED" so I tried to remove Postgres completely from the system but it not completely uninstalling it from my laptop. I think its just remaining some instances in to my laptop which is not letting it to uninstall completely.
please find the IMAGE here -> click here
I have attached the image above. Please see that. I have deleted every Postgress thing from my laptop but I think there is still some left in the laptop that is why it is showing this in the services.

PostgreSQL could not receive data from server: Software caused connection abort (0x00002745/10053)

I tried to establish a connection in pgAdmin to the PostgresSQL server.
I always get the message:
could not receive data from server: Software caused connection abort (0x00002745/10053).
I read several posts where people had the same problem but they didn't help me.
Because my version was a bit older I uninstalled the whole postgresql and installed the newest version with the installer of EnterpriseDB (PostgreSQL 9.6 on windows 64). Everything looks fine. But I can't connect to the server from pgAdmin 4 again. I get the same error message.
In the logfile is written: "An existing connection was forcibly closed by the remote host"
Has anybody a clue what the problem could be?
A partial solution for me was to restart the postgresql-server each time after booting up my computer with NET STOP and NET START. This was cumbersome but worked.
Because my computer still had other connection problems, subsequently I updated my system to Windows 10 which totally solved all my problems.