I found somebody asking the same question almost 6 years ago, versions are changed and i can't make it work
This are the versions im working with:
Windows 11
pgAdmin 4 v6.17
postgresql 14.6.1
I changed PC and i had to reinstall evrything...
So basically i installed pgAdmin with the installer you can find on their web site (here https://www.pgadmin.org/download/pgadmin-4-windows/), and postgresql with the installer you can find following the steps from pgadmin website (this is the link: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads)
If i manually shutdown postgresql pgAdmin will work but obviously i can't use a local DB
If i keep postgres active locally pgAdmin wont open due to Fatal Error:The pgAdmin 4 server could not be contacted , i got no more info
The problem is that i need to work with DB both locally and in remote
i tried reinstalling both pgAdmin and postgres, and executing pgadmin as administrator made no difference
I think is related to the port usage, like they are both tring to use port 5432, but i don t know
Anything i can try?
Related
DNN Upgrade error from 9.1 to 9.3.2 : After upgrade we observe that if we reboot server and immediately try to access the web site then we get error like 'Connection To The Database Failed'.This is happen only first time after server reboot. once we start receiving this error after then we continue receive this error irrespective of how many times we hit website. It is exists till we do IIS Restart or Application pool recyle manually.
Because of this issue we have paused server reboot schedule as well.
Please guide how to overcome from this.
Just a guess, but is it possible that SQL Server starts up slowly after the reboot.
Try waiting 5 minutes before going to the website.
I'm actually a bit surprised that you have this on a DNN 9 installation. I haven't seen it myself as of DNN 8.
I recall solving that by changing the startup type for IIS (in the services MMC) from "Automatic" to "Automatic (Delayed)". That should give SQL Server a decent chance to be started before IIS is.
You could also try to configure the IIS service being dependent on SQL Server (if both IIS and SQL Server are installed on the same machine):
sc config W3SVC depend=MSSQLSERVER
Take care, if you are using a named instance as in the SQL Server Express standard installation, the name could be MSSQL$SQLEXPRESS or whatever instead of MSSQLSERVER. Have a look at the properties of the service to find out.
I have psql installed on my mac. The databases on psql and pgadmin are different and I can't seem to connect them to each other. I would like to be able to create a database and table in psql and have it also available in pgadmin but unable to so far. I tried google and stackoverflow with no success.
The psql shell on my mac is version is 10.4
The pgadmin gui on my mac is version 3.0
Is there any way that these two can be connected to each other so I can manipulate database with either?
I've created a database on pgadmin using the GUI and/or through jupyter notebook via sqlalchemy but it doesn't show up on psql. I've created a database and table on psql but it doesn't show up on pgadmin.
Not sure what I'm doing wrong? Tried to google to see if I can connect to pgadmin from psql but couldn't find anything.
Let me know what I'm doing wrong and how I can connect those two. Thanks
So, you've got two postgresql installs one version 9.6 as a system install and one 10.4 as a user install.
The system install is on port 5432 which is the default port number, so there's something overriding the psql connection so that it finds the version 10.4.
There should be a psql somewhere that came with the 9.6 install.
if you run that one it should connect you to the 9.6.
if that was the enterprisedb installer it looks like
/Library/PostgreSQL/9.6/psql
might be the one you need.
perhaps some mac-os guru can fill in the blanks like how to set the search path to find that psql first.
I have problem starting the glassfish server, i'm working on Oracle database EX and Oracle APEX, but while installing the glassfish i had a problem with the the java runtime VM, and after i fixed it, it won't recognize the JDK.
And i managed to install it though, but after i tried to start the application server, it just won't start
I had this message while installing the glassfish, and i selected the jdk file and it worked, maybe this is the problem?
And this is what i got when a tired to start the server application
I am tried installing DB2 in Mac using Docker. I installed it. But how to connect to the server from any client example(DbVisualizer) Today only i heard about this application so i am novice on it.
I tried to give
database server - localhost
port:50000
Database:SAMPLE(which is present)
even ping is not working for above db details. Am i missing anything?
I have a small home network of pc's all running Windows 10. None of the PC's have been or are in a domain. One (an intel NUC) runs Sql Server and my Surface 3 has Visual Studio. I use my Microsoft login for both. This setup has been running fine for almost 2 years.
Now I suddenly get the above error when trying to connect using integrated security.
Sql Authentication works fine.
I can also remote into the NUC and run SSMS without a problem.
I have followed the troubleshooting guide without success (KB 811889)
NTLM seems to be operating OK on the NUC.
I pinged -a IPAddress and it resolved correctly to the name of the NUC
SQL Server uses NT Service\MSSQLSERVER. I tried using LocalSystem but still didn't work
All the help articles I have found assume there is a domain or suggest Sql Authentication as a solution.
Only recent change has been installing Windows Update for Windows 10 Version 1607 on the NUC
Can anyone help me?