I using DBeaver to connect to my postgresql and i am running commands to create table and to create functions and even tried to alter table. The SQL is running fine but no tables/functions are getting created.. It very weird.
Also using the same tool and i am able to create table and do other stuffs in other env but only in an particular env its giving me this issue. The issue is query is running fine but nothing is happening. Can you please help me in this?
Thanks.
Related
I'm using the open source Metabase version, and I was able to connect my PostgreSQL databases correctly.
but when im trying to run a update query from metabase its throws below error.
ERROR: cannot execute UPDATE in a read-only transaction
but when I execute same query from terminal and pgAdmin its worked and updated the rows as well.
so i thought the issue is the connection between metabase and PostgreSQL,
then i tried to change the connection propertes as below way.
I have tried below arguments as well.
default_transaction_read_only=off
readonlymode=ignore
readonlymode=off
but im still geting the same error message.
Metabase isn't geared toward modifying any data in the source databases it knows about.
Seemingly as a way to enforce this usage pattern, Metabase's developers are using the setReadOnly method when creating JDBC connection objects which is likely overriding any driver-level properties you've set. (This happens in the file src/metabase/driver/sql_jdbc/execute.clj in the Metabase codebase.) You could attempt to change this by compiling your own custom version of Metabase, but you might achieve some unexpected results.
Background
I have a laravel application that uses migration/seeding scripts that have always worked fine when ran on my localhost (OSX) and even on an AWS ec2 instance when the db is local.
Problem
The music started when I decided to connect the ec2 instance into a separate RDS instance (we're talking staging here), I ran my migration scripts as always, but then I got this rude error:
SQLSTATE[42704]: Undefined object: 7 ERROR: constraint
"users_type_check" of relation "users" does not exist (SQL: ALTER
TABLE users DROP CONSTRAINT users_type_check;)
not sure why this is only happening on RDS, ideas?
Agree with Vao's comment.
There is hardly anything RDS specific in that error message.
It seems you are under the impression that the user_type_check constraint is there, when in reality it may not.
You mentioned you are populating the database by running migrations, hence are you sure these have been ran and have populated the database correctly in the first place?
has anyone success to create connection to elephantsql.org using pgadmin?
i want to try to store my database on a server and im trying to use elephantsqlcom
i want to connect to it using pg admin to make maintenance easier. i have followed this instruction : https://www.elephantsql.com/docs/pgadmin.html but keep getting this error
what should i do? thanks all
change database name from postgres to xwpgagbb similar to:
see user AND DEFAULT DATABASE are the same?..
I am connecting to my PostgreSQL DB on AWS RDS through SQL workbench. i have created a new table. it created successfully. table name is like public.xyz.
Now when i am trying to access the select query on 'public.xyz' i am getting error like
'Relation public.xyz does not exist'.
i have checked that my show_path contains %user,public. no case issue.
i have tried select query like select * from public.xyz and select * from xyz etc.. all have same issue
please suggest.
it seems to be a problem with SQL workbench. when i tried to create table using psql client on a linux machine, it worked properly. now i am able to run the same select query which was failing earlier. don't know inner details, but it seems to be an issue with SQL workbench.
So I want to be able to update my PostgreSQL that I use as a DataAdpater in jaspersoftstudio. I am having trouble connecting to PostgreSQL using PGAdmin, I am completely new to this and any direction of help would be appreciated.
Create a new connection
Fill the connection parameters