how to chose right version of mysql workbench - mysql

Upgrading the database version needs intensive testing.
Is it better to upgrade to latest version of MySQL workbench?
If we are installing previous versions of MySQL database, Is there any certification matrix to know all the corresponding version of MySQL workbench or what minimum version it can work with?

Mysql-Workbench using libmysql.dll. You must update this dll from your mysql\lib folder. So a lot function working same as before.

Related

mysql multiple dependency in gradle

I'm a backend developer who worked in South Korea.
I'm experiencing a mysql dependency conflict.
I want to use two data sources (DB: mysql) in a spring boot project, but the mysql version is different (one is 5.0 and the other is 8.0).
So, I add a dependency like this in build.gradle.
runtimeOnly("mysql:mysql-connector-java:5.0.4")
runtimeOnly("mysql:mysql-connector-java:8.0.22")
However, if the group and name are the same, Gradle only supports one dependency.
Who could think like this, the MySQL 8.0 connector can connect to the most recent MySQL version, so I verified that the MySQL 8.0 driver can connect to the most recent MySQL version, which is 5.7.
The other method I discovered is that MySQL 5.0 is connected via mysql-connector-java, and MySQL 8.0 is connected via mariadb-java-client.
But I don`t want to solve this problem like this... This is just makeshift.
Please give me another way. Thank you
In Gradle, how do you install multiple versions of the same dependency? 

MySQL workbench says bad handshake

I tried connecting the database from the server, but MySQL Workbench says that the connection cannot be made and declaring it as Bad Handshake. Can someone help me with this? But if I use the same user id and password and DB connections, it works on the other computer systems. Can someone solve this issue?
The authentication has changed from mysql V8, you must use a compatible client and server.
BTW it's a bug : https://bugs.mysql.com/bug.php?id=91828
Here is a workaround without uninstalling the new workbench.
The most probable case is having an old server with a new workbench:
get the server version
From a SQL cli tool:
SHOW VARIABLES LIKE "%version%";
or from a cli connected on the server:
$ mysql -v
It should show a version < 8.0, in my case 5.1.73
Get the mysqlWorkbench for a version <8.0:
You cannot install the msi if you already have a workbench V8.0, so you have to choose a portable installation form a zip file here:
https://dev.mysql.com/downloads/workbench/6.1.html
Select the version 6.2.5 (last before v8.0) zip version
Unzip
Close the workbench v.8 (it lock any other workbench launch)
Launch the V6.2.3 version of workbench, it should works.
This is probably because of a mismatch in the versions of MySQL servers.
Check the version of the MySQL server you are trying to connect to, and the version you have installed on the computer you are using, they have to be the same.
The reason of this warning is version problem. If you have installed mysql server version <= 5.1 and your remote server mysql version is greater than that you will face this problem. I recommend you to install 5.7 or greater in both your local and remote server. This problem will be fixed.
Fortunately there is an easy way around this. Use the old MYSQL ADMINISTRATOR tool as shown below. In my case I was trying to open a MySQL 5.1 database for a clients WordPress installation with MySQL Workbench 8 and that did not work out :).
ALl credits goes to https://www.urtech.ca/2019/01/solved-bad-handshake-mysql-workbench-failed-to-connect-to-sql/
Follow this link for the details
https://www.urtech.ca/2019/01/solved-bad-handshake-mysql-workbench-failed-to-connect-to-sql/

To upgrade mysql vesion in workbench

I am using latest version of workbench The available MySQL version is 5.0.27. Does anybody knows how to update MySQL version?
MySQL Workbench is a client tool that uses an existing server. Both have their own version numbers. The current GA (generally available) version of MySQL Workbench is 6.2.5. For the server there are obviously different versions. You don't need to consider WB when upgrading. Just upgrade your server and WB will happily work with it.
Update
Meanwhile the MySQL group switched to a unique versioning scheme, where all products have the same version number, to indicate which release of a tool works best with which server (e.g. MEB 8.0.15 with MySQL 8.0.15 or MySQL Workbench 8.0.16 with the same versioned server). It makes sense to update all components at the same time to ensure maximum compatibility.

How can I tell whether my database is SQLite 2 or 3?

I migrated our MySQL database to SQLite using a MySQL to SQLite shell script that I found online somewhere. There was no mention on what version of SQLite database it creates.
How can I check, on Windows what version it is?
I checked online on how to do it, but most used file command etc. that is for Linux.
And, if it created an old version how do I upgrade it on Windows?
On MySQL we would just install a newer version, but since it's just a file, how to do it?
Run a select statement:
" SELECT sqlite_version() AS 'SQLite Version'; "
To update your mysql server, download the latest version on:
http://dev.mysql.com/downloads/mysql/
And dont forget to make a backup first ;)

Which versions of mysql can MySQL Workbench 6.0.9 connect to?

I've scoured the MySql website to see if they have compatibility listings for MySQL Workbench, but have not found anything. Does anyone know if 6.0.x can connect to 5.5.x databases? I'd rather not install and then have to roll back.
MySQL Workbench can connect to most MySQL server versions, but that is probably not the primary question. You should rather ask what minimum version it can work with. MySQL Workbench requires at least MySQL 5.0 and can work with any MySQL server after that (including the new 5.7). Some features like authentication plugin or performance schema support require higher server versions, though.