How to connect MySQL 8.0.x using Navicat? - mysql

I have installed MySQL 8.0.4, but my Navicat for MySQL can not connect it, the warning is:
1251 - Client does not support authentication protocol
requested by server; consider upgrading MySQL client.
How do I fix it?

From your warning message it looks like that your Navicat do not support MySQL 8.0.4.
Option 1
Just to be clear, the version of MySQL that you updated to 8.0.4 was released at 2018-01-23 and latest version of Navicat was released 2017-05-31 so 99,99% sure that it wont support latest MySQL, so either downgrade to 5.7.x version or just wait next release of Navicat.
Option 2
Check if there is a client for MySQL which is alrady supporting version 8.0.4. Hint here - I'm using SequelPro and it is not supporting it also. Hint #2 MySQL Workbench releasing quite often, meaning the soonish support of latest mysql is quite possible for tham
Option 3
You always have command line client, which is in some cases the best one, especially for learning reasons.
Regards

Related

Error message in MySQL Workbench: 'local instance 3306 - warning - not supported' what does this mean? [duplicate]

Maintenace tasks such as servers status, client connections etc call come up with the same error.
The version of the server you're trying to connect to is 10.0, which is not supported by Workbench.
Is there a quick hack to allow the use of these with Mariadb 10.04 or 10.06
MySQL Workbench checks for the specific version of the server since each version supports a different set of configuration options. E.g. some 5.6 options must not be set on a 5.5 server.
MariaDB is not officially supported. It could be possible to hack the version check to make it pass with 10.0, but much with the differences between the fork and the original MySQL versions there is a chance that you could run into errors or break your server's configuration. The settings in MariaDB are not 100% compatible.
For that reason it is recommended to use a different tool that has dedicated support for MariaDB.

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.

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.

How do i proceed to install mariadb as drop in replacement for mysql on a zend server 6 environnment?

the company i work for is considering for multiple reasons (some of them libked to the politics of open source and oracle) a switch from MySQL to Mariadb. Our development team has been using Zend Server (now it's 6th version) which always install mysql. Is it possible to switch from mySQl to Mariadb smoothly? are there any hurdles that we should be aware of ahead of time? The OS for every development computer is Ubuntu 13.04 at this point.
No, there should be no more issues than when upgrading to a new MySQL version.
See How can I upgrade from MySQL to MariaDB?