I would like to install PostgreSQL on windows 7. Howver I faced one problem when I am going to launch pgAdmin 4. It shows that "Fatal Error. application server could not be contacted." I tried run as Administrator, deleted file pgAdmin in AppData. Deleted python and in my path. Added PostgreAQL in my path. However due to some reason it shows the above proble. I need your help. Thank you in advance
Here is the solution that worked for me on windows 10:
Delete the pgAdmin folder from AppData C:\Users\%USERNAME%\AppData\Roaming\pgAdmin (Note: AppData is a hidden folder),
Search for "Services" with windows search, scroll down to postgres and click on "stop",
Run pgAdmin as Administrator.
Unistall existing postgresql on your computer.This should uninstall the entire applications associated with postgresql including pgadmin4. Go to your start menu and type in "pgadmin4" to show if you still have associated file.If you see any,trace the location and delete it.
You can now re-install a fresh copy of POSTGRESQL from Enterprisedb which will automatically install pgadmin4 for you. The new installation will prompt you to enter new password. Use a password you can remember since you will always need it to access the database.
I uninstalled my python IDLE and then installed the latest python IDLE. When installed it will give you an option if you should allow all programs including python to have full access to the AppData PATH choose yes and the fatal error will disappear
Related
Hey stackoverflow community i have an issue with vscode connecting to wsl2 with the following error [picture bellow] message i already searched for hours and couldnt find a solution.
reinstalled both with a clean updated version without any success
Edit 1:Tried to unmount and remount folders also tried opening with high privilege's from cmd 'wsl code .' moreover i completely deleted wsl and vscode with all the extensions but still am getting the same error, i was able to reproduce more readable error, when opening a project it prompts with
unable to resolve resource vscode-re...://%ubuntu-22.04/file_path
Edit 2: opening WSL, 'New WSL window using distro' works fine but i cant open any directory, without it producing the error in Edit 1
I got the same issue. I use Windows and I open the folder in vscode in this way:
shift+right-click the folder -> open linux shell -> type in "code ."
when vscode opens, the error does not exist.
For me this was due to the secondary sidebar being visible.
After disabling it via View -> Appearance -> Secondary Side Bar, WSL2 starts up fine again.
I got the same.
If your project is on another drive mount it and
run vscode as administrator.
I had this issue and needed to run..
$ code
Updating VS Code Server to version 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Removing previous installation...
Installing VS Code Server for x64 (97dec172d3256f8ca4bfb2143f3f76b503ca0534)
Downloading: 100%
Unpacking: 100%
Unpacked 2389 files and folders to /home/dmitri/.vscode-server/bin/97dec172d3256f8ca4bfb2143f3f76b503ca0534.
in WSL2 to update the WSL2 server. Then uninstalling and reinstalling the WSL extension from VSCode did the trick.
I am the same.
I also reinstalled VSCode and Docker, but nothing changed.
In the "Remote - Containers" tutorial, I was able to connect without any problems.
It doesn't work with my code.
My environment:
Ubuntu 20.04.3 LTS on Windows 10
-> https://www.microsoft.com/store/productId/9NBLGGH4MSV6
PhpStorm 2022.1 Build #PS-221.5080.224, built on April 13, 2022
My Problem:
I'm trying to export a PostgreSQL database inside the Database tab of PhpStorm.
To execute the export I right click the database in the list and click on the "Export with 'pg_dump'" option. This opens the Export window with all the options and command preview:
Inside of the window I get the error message "Path to executable is wrong" even tho the pg_dump file exists at the given path /usr/bin/pg_dump. This stops me from executing the export.
I have tried to manually install pg_dump in another directory and select it in the PhpStorm Export window, but it still won't detect the executable. The executable itself works fine.
The solution to this problem was to do a sudo apt-get install postgresql-client.
Apparently there is a general problem with the pg_dump executable of the "postgresql-client-common" package:
https://askubuntu.com/questions/501091/command-pg-dump-not-found
After installing the postgresql-client package, everything works fine in PhpStorm as well.
The code is pretty simple there: IDE checks that file exists and is executable, then run /path/to/pg_dump --version command and parse output looking for some keywords. Unfortunately there are no logs which can show exact reason, but I guess the issue that IDE can't get access to the file. Most likely due to WSL. The workaround is to install IDE and unpack PG binaries on Windows, then configure port forwarding to make PG server accessible from host OS.
I tried to install Mysql workbench through terminal but gave me following error:
$ mysql-workbench
Found /lib/x86_64-linux-gnu/libproj.so.15
/usr/bin/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libwbprivate.so.8.0.23: undefined symbol: _ZN7pcrecpp2RE4InitEPKcPKNS_10RE_OptionsE
Actually, I tried to install it using Ubuntu software center, but on clicking the local instance, it would give an error that it could not connect to database, therefore I tried to install it with terminal after uninstalling from the software center.
Then, again I tried to install it using Ubuntu software center, a permissions tab was there alongside the 'remove', after clicking it a toggle of ~'read and edit password' was turned off, I turned it on, it asked for user login password and then, MySQL workbench was able to open the local instance.
In Ubuntu 20.04, install MySQL Workbench using Ubuntu's Software center only, but make sure to give it permissions to read and edit password just after installation in software center itself only
i'm using remote jupyter server in vscode.i added remote server as the guide says.
But what annoying me now is that i created too many server url but don't know how to delete one.
Does anyone know how to deal with it? Or i should uninstall and reinstall totally.
You can run the command (CMD+SHIFT+P on MAC):
>Jupyter: Clear Jupyter server list
Installing PostgreSQL v12.3 on Windows 10 with Windows x86-64 installer. I can't find a solution anywhere. Installer allows me to click ok and continue installation. I even have access to all the apps that come with Postgres, including the pgAdmin4 app, but I the 'psql' command in my command line doesn't work.
Anyone know how to resolve this?