When I was trying to access PGAdmin Web and PGAdmin Desktop (maybe called as Client), I found that Web version and Desktop version are showing different users. I want to have same user across both the versions. Though I used different accounts, I got access to same server.
I'm using Ubuntu 22.04, PGAdmin4 version: 6.18, PostgreSQL version:14.6
Any help is highly appreciated.
Related
I am using asp net core 2 developed a web application and deployed in Ubuntu 16.04 which is running well when I go to browser. Every tabs on my website is working but when I try to log in with my account it loads for some time and shows error page. I don't know what's wrong here :( I am guessing it is because of I didn't configure remote connection to Postgresql properly.
My question is: should I install Postgresql to my server (which is Ubuntu 16.04) and copy all my data there? Or should I continue remote connetion to database? What would be a good way?
After reading official websites as well as conducting Google research I still do not clearly understand how pgAdmin and Postgres.app relate to one another?
For example, I can simultaneously run two different local postgres servers on different ports from both pgAdmin and Postgres.app, which is confusing. I thought that those application depend on one another, but it does not seem so.
Postgres.app is a full-featured PostgreSQL installation packaged as a standard Mac app. It sets up a PostgreSQL database server on your computer when you install it.
PgAdmin is graphical user interface administration tool for PostgreSQL. It is a client tool for working with existing local or remote PostgreSQL servers. It does not include a PostgreSQL database server.
What am I trying to do:
I want to deploy a Windows IoT (Universal Windows) app on multiple Raspberry Pi3 devices. This app will READ data from a database. The database must be on a local network (no internet access). The database will be hosted on a Windows 10 machine or another RPi3.
Here is where I am stuck. I want to be able to connect these devices, via C# code, to a database hosted on a local machine on the closed network. The thing is SQLite cannot do this task, since it is embedded. Any other options that can help?
If you have any regular (x86/x64) machine you can run any database on that (sql server, MySQL etc).
I don't know whether you are using .Net Core or UWP for your app on the raspberry devices?
In .Net Core you can use something from here, that might also work for UWP.
I don't know about databases that can run on Windows IoT Core, maybe you could find an answer on google for that.
It wasn't totally clear from the developer site but can I use the API access with the self-hosted version of Quickbooks enterprise (on a Linux server in this case)? I see APIs for the cloud version and section on the desktop version but nothing about the server installed version.
No. You will need to use the QBXML SDK to access QB desktop data.
The integration will have to run on one of your Windows clients, not directly on the Linux machine. The Linux machine just hosts the data file, it doesn't really do anything else beyond that.
I'm trying to install PGSQL 8.3 (and 8.4 and 9.0) on my work laptop. At the end of the installation, the installer complains it can't init the cluster. Investigating more, I noticed that the service is not even installed. I did use the "OneClick Installer", not the pgAdmin stand alone install. I tried installing as Administrator and as a regular user. In all the cases, the pgsql system account is created and the files copied, but the service is not.
I successfully installed PGSQL many times on my home PC. Both the laptop and desktop use Windows 7 64 bits (former is Professional, later is Ultimate). The only differences I can think of are that the laptop is part of an Active Directory and uses McAfee, while the desktop is only on a workgroup and uses Windows Security Essentials.
Are you sure the postgres user is allowed to create files in the data directory? The installer defaults to putting the data directory where the binaries are installed (e.g. c:\Program Files) which is usually not writeable by a regular user (and I never understood why the installer contains such an idiotic default).
McAffee could be an issue though. I have heard several stories about virus scanners infering with the Postgres (or other DBMS). Can you turn McAffee off - at least for the data directory?
Another problem could be that the installer is not able to create the postgres windows user (that is used to run the service).
If you are a local administrator on that machine, try to create the user before the installer does it. The installer will then not try to create the user account.
As a last ressort, you could install PostgreSQL without the installer (this is what I usually do).
Download the ZIP file from http://www.enterprisedb.com/products-services-training/pgbindownload
Unzip it into a convenient location
Run initdb (make sure you do that using the postgres user account - the one that is used to run the service later!)
run pg_ctlr register to create the Windows service
If any of those steps fails you'll see a proper error message which is not always the case with the installer.
Anti-virus is a well known issue:
http://wiki.postgresql.org/wiki/Running_&_Installing_PostgreSQL_On_Native_Windows#Antivirus_software
PostgreSQL connection problems
(answer is from one the core developers)
Postgresql 8.4 and BitDefender 11
With earlier versions of PostgreSQL, I found I had to delete the user "postgres" before reinstalling would work. Not sure what versions had that problem, though.