DBeaver cannot connect PostgreSQL due to driver error - postgresql

I am getting following error when I try to connect to PostgreSQL database on a Docker container during downloading and installing phase of PostgreSQL drivers:
Driver file download failed. Do you want to retry?
Reason: Maven artifact 'maven:/net.postgis:postgis-jdbc:RELEASE' not found
On the other hand, when I run DBeaver via command line as admin, I can connect to the database. But not want to run DBeaver on terminal and want to fix that problem. I tried to add drivers as jar file but it does not fix the problem. So, how can I fix this problem?
enter image description here

Related

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

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

I can't open my MySQL Workbench (workbench execution error)

I'm scared to ask this because people can be a little mean on here but I've watched 1000 of YouTube videos and went through just as many google searches. I was trying to create a data dictionary for mysql diagram. I used this website https://dataedo.com/kb/tools/mysql-workbench/how-to-export-data-dictionary#toc_0 to help me. I downloaded the .py link listed in the install plugin step. The followed the instructions in mysql. It said the plugin install was successful and to restart my workbench. After that I started getting the error shown in the picture. I have tried everything:
Restart workbench
Repair workbench through msi download
Followed the steps in this link: https://www.tutorialspoint.com/how-do-i-kill-all-the-processes-in-mysql-show-processlist
Updated all my sql products in mysql installer
Made sure mysql services were turned on and running
I don't know what else to do. I can't even open workbench to see if the plugin is the issue because again I can't get in. I just need some help
That is a strannge error, where mysql workbench has some corrupt files.
Deinstall MySQL Workbench with the MySQL Installer
Install Workbench again
So everything will start normal again, the configuration and connections will stay and can be used again as normal
This is not an installation issue, so don't waste your time by trying to fix this issue by repeating the installation.
The error comes from the approach where MySQL Workbench tries to ensure there's only one instance of it running. For that it searches the process list for another instance and, if one was found, sends the command line parameters it got to that instance, letting the already running instance handle them (and shuts itself down after that).
But again: this happens only if another instance is found, so check your process list carefully. Filter by the term "MySQL" to see any MySQL related processes (including that of a MySQL server). Shutdown/kill any of these processes and try launching WB again.
Same issue happened to me and it was like what the heck. Don't waste your time to uninstall and reinstall because it won't solve your problem.
Solution: open your file explorer and delete the entire folder "Workbench"
Path: %appdata%\MySQL\Workbench
I have the same issue with this file.
Just as Jr Relampagos says, delete the .py file here : AppData\Roaming\MySQL\Workbench\modules
Restart Workbench, it works for me.
With me I'm just go to C:\Users<USER>\AppData\Roaming\MySQL\Workbench\modules and then delete the .py file you install, then open the Workbench again

Error on DB connection when trying to build forms and bpm from deployment->docker

when i tried to build formsflow-form,formflow-bpm ,keycloak etc from deployment docker i got error saying "could not connect to database". But i can build all these seperately.
It looks like from the error logs you are missing environment variables for database which is required to set up forms-flow-ai in Docker. You can checkout the Installation steps of formsflow.ai solution in docker and follow along it to resolve the issue.

typo3_console throws error Doctrine\DBAL\Driver\Mysqli\MysqliException - No such file

Update of TYPO3 6.2 to TYPO3 8.7.
After changing the sources i am able to start all update scripts in install tool as expected. But when i try to run them via typo3_console i get the following errors:
./typo3cms database:updateschema safe
[ Doctrine\DBAL\Exception\ConnectionException ]
An exception occured in driver: No such file or directory
caused by
[ Doctrine\DBAL\Driver\Mysqli\MysqliException ]
No such file or directory
installtool is working, no error there
environment without errors
flush cache in installtool works but ./typo3cms cache:flush ends up in the same error messages.
Any ideas?
Thanks!
The error was sitting in front of the screen.
I changed unintentionally the php version of cli from 7.2 to 7.0. typo3_console should work with 7.0 - it tests versions from 7.0 to 7.3 - so no error was thrown. But it doesn't: all errors are gone after switching to 7.2 back again.
Sorry for the noise ... perhaps it helps someone with the same problem.
This error might also occur if your TYPO3 instance is running in a container (e.g. ddev) but you are trying to run your command from the host of the container.
So in case of ddev you have to run ddev ssh before trying to run a console command.
As you might have guessed: This happened to me ;)
Are you changing the DB credentials based on the TYPO3_CONTEXT? then you need to set this also in CLI, e.g. using
TYPO3_CONTEXT=Production/Staging ./typo3cms <your command>

MongoDB plugin for IntelliJ - Timed out while waiting to connect after xxxx ms

I'm trying to follow this guide but I'm stuck to the point where I have to test the MongoDB plugin. I have installed MongoDB in my system and the Mongo Plugin to IntelliJ. In the MongoDB plugin settings the "Path to Mongo Executable" is correct (it shows the success symbol when I test it).
But when I try to add a Mongo Server the Test Connection fails. The error is: "Timed out while waiting to connect after xxxx ms". I tried starting mongod.exe manually, restarting IntelliJ and reboot. Nothing works. What am I missing?
I just downloaded it and played around with the plugin. I got it to connect only after starting up mongod manually beforehand. I don't even know if you can start up the mongod process from IntelliJ, as after reading the documentation, there is nothing about starting up the server. So basically I followed the steps you outlined, but before hitting "Test Connection", I start up the server manually. Once that is done, I was able to use the plugin's functionality.
I found the solution. The answer is given by Shivam Srivastava in this thread. The problem was that I hadn't set the dbpath. Shivam shows step by step how to achieve this.