How can I restore all the queries of MySQL workbench workspace? - mysql-workbench

I have been making queries since 6 months from now and they were all available when I opened the mysql workbench workspace. Although when I opened mysql wokbench today I received this error messsage.
I lost all the queries that I made. I cannot restore the workspace. Can you please help? :(
Thank you very much in advance.

Related

Can't connect to databases in DBeaver

I'm having problems trying to connect to databases with DBeaver. I've managed to connect to one database fine with no problems. However, any additional connections is causing issues.
I keep getting the error
SCRAM authentication is not supported by this driver. You need JDK >= 8 and pgjdbc >= 42.2.0 (not ".jre" versions)
I've tried the exact same details in pgadmin, and can get into the database just fine.
I just much prefer DBeaver as pgadmin seems to lack some really basic features like autocompletion.
I've reinstalled postgres and dbeaver multiple times, ensuring that its the latest version of each, still nothing.
Fixed the issue. It appears that DBeaver was holding on to an outdated library, which was being checked first, and therefore failing the test.
Steps to solve issue.
Download latest JDBC and move to \Program Files\DBeaver\shared_drivers
Open DBeaver and click Database -> Driver Manager
Double click on PostgreSQL
Under libraries click Add file and find the new JDBC
Delete any of the previous libraries, so it remains the only one

Issues with SQL Developer and PostgreSQL JDBC driver

I'm trying to assist user who suddenly no longer is able to connect to database using PostgreSQL JDBC driver. PostgreSQL connection tab is not clickable. All of her colleagues do not have such issues. I have re-installed SQL developer several times, backed up and deleted SQL config folders from C:\users\username\appdata\roaming, re-added driver, nothing seems to change. I have limited knowledge about SQL as I don't use it and neither is there much information about this as it doesn't seem like a common issue. User uses following software:
JDK 8 -172 64 bit,
SQL Developer 17.2.0,
PostgreSQL JDBC driver 42.2.18. Added screenshot just in case. Any help would be appreciated.

sonarqube 4 server migration

I'm trying to move a sonarqube 4.4 installation from one machine to another. What's more we would also like to change the database server from Oracle to Postgres 9.3.
What my plan was initially is that I would shutdown the sonar server, the database adminstrator would dump existing database, migrate it to postgres in the new server and I would zip the existing server installation and move it along to the new server. Then I would start the server.
However I've run into problems, even though sonarqube 4.4 booted fine, when I hit
http://new-server:9001/sonar4
I was getting a 404 response from sonar.
At some point I tried unzipping the server file anew in which case I managed to see the projects and the dashboards but no analysis data existed, even though last analysis time was available.
Any ideas or clues what am I missing?
Also, the driver in sonarqube for postgres is 9.1.xxx can I update this or should we use postgres 9.1 to make sure the driver is compatible with the database?
How is your ..\conf\sonar.properties? Normally, you should have changed:
sonar.jdbc.url=jdbc:oracle:thin:#localhost/XE
Did you use some tool to migrate Oracle to Postgress? I thought it was not possible.
Do not hesitate to ask for further precision.
Regards.

Mysql 6.1 db error

I am using mysql 6.1 workbench and having issues every time I turn on system. I've tried atleast 50 solutions from different sources but it is not getting fixed. Tried to change default port as well re-installed it quite a few times now. Couldn't understand why it's not getting fixed.
Error is: Can't connect to MySQL server on '127.0.0.1' (10061) (2003).
I've seen official documentation in detail and followed each step.
Please help.
I figured this out...actually when WAMP and MySQL Workbench both installed only then it shows this issue. Quitting WAMP closes connection so system shuts services down and workbench fails to start service at it's own. By removing one of both won't show such errors. Problem solved.

Using pg_admin III and PostgreSQL 8.1 (both test and development)

I want to backup Development and restore it in test and vice-versa.
So when I do a backup of the db (in PGAdmin III), it backs it up. But
when I restore it, all primary key information is gone and no data is
in the tables.
Any help would be much appreciated. Thanks.
pgAdmin uses the client programs pg_dump for making backups and pg_restore for restoring (it's only a GUI). Try to dump and to restore with these programs directly and see if you get any errors or warnings.
Offtopic: Support for version 8.1 ends this year, you should upgrade to a newer version.