My datagrip fails to load my postgres while downloading driver. How do I solve this? - postgresql

Hi I'm trying to run postgres locally so that I could read the local postgres from
datagrip.
However, when I add postgres into my datagrip I ran into this problem.
So I tried to download driver files (I was expecting it would solve this problem)
Then it shows this.
I was stuck here and tried to figure out but I couldn't.
What should I do to solve this issue?
The last stage I was stuck is one step after when I hit 'set up http'
Can anyone help me on this?

DataGrip couldn’t download the driver, and details should have been recorded in idea.log. See where to find it: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

Related

Import/Export Dialog Disappeared in pgAdmin

I use a PostgreSQL database on my local computer. I always import csv files via right-click to the relevant table and choosing the Import/Export Dialog. However, when I opened the pgadmin last time, there was no import/export option in the options. I do not know what happened to it. I, once, took a backup of files and use this backup file to migrate the database to another version of Postgres. I am not sure but I want to ask might one of the options that I selected or did not select cause this trouble?
I also tried to go in an alternative way by using copy from 'C://path/data.csv method and it did not work. then I tried \copy from 'C://path/data.csv but it did not even recognize the \ symbol and gave an error.
I wonder what happened to Postgres or pgadmin and how can I find a solution to import my data to the Postgres database?
I had the same issue, looked everywhere but nothing came up on WHY this happened or HOW to fix it.
RESOLUTION: I was able to resolve this by downloading the latest version of pgadmin4.
After downloading, the Import/Export dialog reappeared.
Hope this helps you too!
Import/Export Dialog - Resolved

Error builtin:list-members on trying auto complete in mysql workbench

Till yesterday auto complete was working in mysql workbench. Today getting below error on trying auto complete(Ctrl+space).
Kindly help to resolve it if you have an idea.
I restarted MySQL Workbench and now its working fine.
It appears this is a known bug in MySQL workbench since 2018: bugs.mysql.com...
Others have had success from rolling back to version 6.3.10. The bug is still present in the current version 8.0.23.
Another potential solution is delete the .column_widths file in:
[username]\AppData\Roaming\MySQL\Workbench\cache
Ironically Mysql Workbench's .column_widths appear to be a sqlite version 3 file
I believe you corrupted your Workbench installation somehow, so the easiest way to fix that is to re-install the application.

Where are pgAdmin logs for failed server connections?

How do you find out WHY the connecting Server failed? There must be log the reports why it fails, but I can’t find it in the pgAdmin3 program. I cannot get PpgAdmin connection to the server.
Below See Screen Shot below.
Please note I am beginner in SQL databases—so I don’t know a lot yet. There must be a way in the program to find out WHY it failed.
Without any clues to why it failed, it is very hard to diagnose the issue. Which is the focus of this question.
I tried a re-install of Postgresql, I discovered a install error that happen the first time but I missed noticing the first time. Install Error
Also found install logs at C:\PostgreSQL\logs\PostgreSQL-installLog Which lead me to event viewer and I found these errors.
Event View
Anyone have idea of what they mean or more IMPORTANTLY how to solve this issue?

how to fix export mysql dump version error

i'm newbies of mysql workbench. i'm having this error when im trying
to export data,
( ERROR CHECKING MYSQLDUMP VERSION. error retrieving version
mysqldump.exe (exit 1)).
I already try to run administrator. and clearing the path in edit preference. but it doesnt work. please can you help me.

Connect PostgreSQL to HammerDB

As the title says, I want to connect PostgreSQL (I'm using the 9.6 x86 version) to HammerDB, an open source database load testing and benchmarking tool (I'm interested in the TPC-C Benchmark).
The thing is that I can do this connection by using MS SQL Server (2014), because it is relatively easy. However, I'm not used to use PostgreSQL. When I try to create Virtual Users on HammerDB (that's the 1st step to do, then you should be able to perform the transactions) I get the following error:
Error in Virtual User 1: Failed to load Pgtcl - Postgres Library Error
I did some research about this, and I found that, and I quote "PostgreSQL is VERY particular about the libraries in its PATH - they have to be the right ones and ONLY the right ones any other configuration will cause errors".
The problem is that HammerDB couldn't load library libpgtcl.dll. There they mention that to fix the problem, one should check that the PostgreSQL bin directory has been added to the path during install, but at this point I'm totally lost and I don't know what to do. I simply can´t get what they mean and how to do it.
I hope at least one of you could help me. I would appreciate it a lot.
Sorry in advance for my mistakes in English, I'm a Spanish speaker.
Well, I have solved the problem, and it is very simple.
Everything is about Setting Windows PATH for PostgreSQL, and I found that here.
Open my Computer ==>
right click inside my computer and select properties ==>
Click on Advanced System Settings ==>
Environment Variables ==>
from the System Variables box select "PATH" ==>
Edit... ==>
Then add this at the end of whatever you find their
;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib
after that continue to click OK
That's all. So this is what you should do if you are having trouble when trying to connect PostgreSQL to HammerDB, and in general, when trying to use PostgreSQL tools.