phppgadmin

我正在运行哪个版本的PostgreSQL?

房东的猫 提交于 2020-08-13 08:39:16
问题: I'm in a corporate environment (running Debian Linux) and didn't install it myself. 我在公司环境中(运行Debian Linux)并没有自己安装它。 I access the databases using Navicat or phpPgAdmin (if that helps). 我使用Navicat或phpPgAdmin访问数据库(如果有帮助的话)。 I also don't have shell access to the server running the database. 我也没有shell访问运行数据库的服务器。 解决方案: 参考一: https://stackoom.com/question/vclb/我正在运行哪个版本的PostgreSQL 参考二: https://oldbug.net/q/vclb/Which-version-of-PostgreSQL-am-I-running 来源: oschina 链接: https://my.oschina.net/u/4438370/blog/4318226

phpPgAdmin for Heroku database

安稳与你 提交于 2020-01-15 04:14:51
问题 When I create an app in Heroku and add a database (PostgreSQL) to it, is there a way to add a web interface for that database (such as phpPgAdmin)? 回答1: I'm no expert, but I think you can't have this functionality. Have a look at the monitoring section; in case you want to get some logs. Furthermore it's worth checking Heroku Postgres add-on section. There you can find details about different plans e.g. they include different features. However, there is a way to connect to Postgres database

Syntax error when trying to import database from two PostgreSQL databases

风格不统一 提交于 2019-12-25 06:59:01
问题 I'm trying to export a database from one server and put it on another using phpPgAdmin. My process is like this: select the database in server 1 and hit the export button select "data and structure and select the option in the dropdown "copy" download create the a database of the same name in server 2 with the same name as the database from server 1 select that database, open up the SQL pane, and paste the SQL code I downloaded from server 1 Execute That's when I get the error: ERROR: syntax

Import sql dump using phppgadmin

假装没事ソ 提交于 2019-12-23 11:02:14
问题 I have phppgadmin version 5.0.4, When I click button SQL (in top-right of phppgadmin ) I must obtain window for importing sql dumps right? but in this window is only input text field for pasting sql file content Question: where is button choose file for importing sql dumps in phppgadmin? 回答1: The file input element is displayed while you are in some database detail after clicking the DB-specific menu item SQL only, not the upper right corner one. You can find it easily on this image 来源: https

importing osm file into a postgres/postgis database

天涯浪子 提交于 2019-12-21 11:43:19
问题 Im using the tool osm2pgsql to import an osm file into a postgres database using phppgadmin as the administrative tool. i have only downloaded a small town from osm in xml format and im having trouble importing it using the terminal on mac. Im a bit of a noob at this so any help would be greatly appreciated. Ive looked at several articles but none provide the clarity i need in order to fulfill my needs. Thanks im getting this error could be something small not sure.. Using projection SRS

postgresql and django - No unique identifier for this row

馋奶兔 提交于 2019-12-13 05:24:34
问题 Two entries on my Django postgresql database are causing me a world of trouble when I go a-querying to create reports. When I try to delete these entries (via phpPgAdmin), I get the error "No unique identifier for this row." There are no duplicate IDs. I've tried updating all the fields. I've tried getting rid of these using the delete button and manual SQL commands. I'm out of ideas. Anyone know hot to give a row a unique identifier so I can get rid of it? Thanks! 回答1: See the answer to this

Can't login in to phpPgAdmin

ぐ巨炮叔叔 提交于 2019-12-11 09:43:26
问题 I have installed phpPdAdmin (5.1) using Yum on to a CentOS VPS. I have installed on the server Postgres 9.3.4 also using Yum. I am able to log in to a user account I have created using psql from terminal. However when I try and log in to phpPgAdmin it says loginFailed (also there is a red cross next to the server name on the left), I have changed the conf.d/phpPgAdmin file and added the line "Allow from all". I am at a loss, I am trying to log in to phpPgAdmin so I can start using the

Postgresql, phpPgAdmin in xammp

无人久伴 提交于 2019-12-11 08:14:41
问题 Hi I have this error while I'm trying to launch phpPgAdmin. Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option. Im using xampp ver 1.7.7 , Postgresql 9.2.4 64 bits , and phpPgAdmin 5.1 I already did the following: 1. open "config.inc.php" found in C:\xampp\phpPgAdmin\conf\ and set "extra_login_security" to false $conf['extra_login_security'] = false; 2. Find php.ini file, in C: \ xampp \ php \ php.ini, then look for the line "

PHPpgAdmin: How delete rows without using SQL

岁酱吖の 提交于 2019-12-10 23:35:09
问题 In phpMyAdmin I can delete rows without using SQL. Is there a way to do this in phpPgAdmin ? 回答1: phpPgAdmin (ppa) gives ability to edit/delete a row only when it founds an unique index in the table (or in requested fields for a query) and the value for the indexed col is not null. Without unique index (or PK), ppa could not determine a WHERE clause to select the only row you want to edit/drop. 回答2: Yes there is, just select the table, click "browse" and then click "delete" (in the column

INSERT INTO PostgreSQL

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 18:35:42
问题 I have got a little problem with SQL. I'm trying to insert 2 values into my table. that's my query: INSERT INTO tableinfo (table,date) VALUES ('Sell','24 August'); But it doesnt work. I've got something like that: SQL error: ERROR: syntax near "INTO" LINE 1: SELECT COUNT(*) AS total FROM (INSERT INTO tableinfo (table,... ^ In statement:: SELECT COUNT(*) AS total FROM (INSERT INTO tableinfo (table,date) VALUES ('Sell','24 August')) AS sub It's pretty basic so I don't know why it doesnt work :(