I am installing InfoSphere V1171 on Linux RHEL 7.
When I am trying to install InfoSphere but in the validation step I get the error:
FAILED: CDIPR2123I: Ensure that the database xmeta is empty
I have tried to drop the table using the below command and recreate the DB but the error reappears:
db2 drop database xmeta
How can I clear the DB?
Related
I have installed postgresql on my new laptop (on Windows).
I see the service postgresql-x64-11 - PostgreSQL Server 11 is running and is automatic. Perfect.
I have installed "dbeaver" (21.21). I would like to create my first database via dbeaver. I always get this message:
Database postgres does not exist
Is it possible to create a database with dbeaver ? Or not ? Or must I do the creation with some command lines ?
I have a database file backup from DB2 10.5 fix package 10, Now I do want to restore it into DB2 11.5 developer edition to do a test.
But got below issue:
SQL2519N The database was restored but the restored database was not
upgraded to the current release. Error "-440" with tokens "SQLERRM
FUNCTION " is returned.
I use below commands, both no success.
db2 restore database DBNAME01 from /tmp/backups without prompting
db2 restore database DBNAME01 from /tmp/backups replace existing
When I try to use:
db2 restore database DBNAME01 from /tmp/backups
I got:
> SQL0440N No authorized routine named "SQLERRM" of type "FUNCTION" having
> compatible arguments was found. LINE NUMBER=1. SQLSTATE=42884
Can someone help?
You can only restore from offline backup; try this.
I am very new in Grafana. We have setup grafana and now we want to monitor our postgresql DB using it.
We have created the postgresql datasource and provide all the required detail of our psql DB machine and connection showing ok in Grafana. Now we have imported the Grafana dashboard with id 9948 Dashboard is imported but didn't showing any stats over it.
We are getting the below error:
Error pq: relation "collectd" does not exist
Error Templating init failed
pq: relation "identifiers" does not exist
We have installed the collectd also using apt install collectd on DB machine but didn't find any configurable option in collectd.conf file.
Can you please help me.
Thanks.
You need to install the timescaleDB and create the PG extension.
\c database
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
Once done, follow the instructions from following git project.
https://github.com/petercelentanojr/timescaledb_collectd_resources/blob/master/collectd_timescaledb_schema/collectd_timescaledb_bootstrap.sql
I want to use Squirrel SQL since it seems a good alternative to pgAdmin but I do not succeed to connect with database postgresSQL, respectively, MariaDB. The error I got is:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.postgresql.util.PSQLException: FATAL: database "localhost:5432:postgres" does not exist
I have the following environment: Windows 7, postgreSQL 9.6, MariaDB 10.2. I can connect both databases with terminal or pgAdmin, respectively, HeidiSQL. So, I think I do something fundamentally wrong when trying to connect to the databases with Squirrel SQL.
Here are the detailled steps I did:
(1) The drivers are in C:\Program2\db_drivers and also the databases are installed in directory \Program2:
(2) I could register the drivers:
(3) Then I tried to make an alias:
(4) ... but got this error:
As documented in the manual the URL should be:
jdbc:postgresql://localhost:5432/postgres
I'm trying to use PostgreSQL 9.5 with pgAdmin 4 (I would prefer to use pgAdmin 3 but I get the following message when trying to connect to my database:
"Warning:
The server you are connecting to is not a version that is supported by this release of pgAdmin III.
pgAdmin III may not function as expected.
Supported server versions are 8.4 to 9.3")
So I'm forced to use pgAdmin 4. However, when I restore (like I usually do on pgAdmin III) I get a 'successful' restore but no data is actually restored into the tables.
If I click on the details of the 'successful' restore I am presented with this:
"1. pg_restore: connecting to database for restore"
How do I fix this issue?
Would you provide pgAdmin4 logs after running restore?
pgAdmin4 Log location:
Linux:
~/.pgadmin/pgAdmin4.log
~/.pgadmin/job_logs/
Windows:
%appdata%\pgAdmin\pgAdmin4.log
%appdata%\pgAdmin\job_logs\
Note: Do not close Success dialog in pgAdmin4 after restore otherwise once you acknowledge the success dialog, pgAdmin4 will delete respective job log files from "job_logs" directory & also delete "pgAdmin4.log" before running restore to trim unwanted logs.