MySQL Workbench 不兼容/非标准服务器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35376109/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 21:35:13  来源:igfitidea点击:

MySQL Workbench incompatible/nonstandard server

mysqlworkbench

提问by D. Coop

I am new to using MySQL and I needed to download it for school, however, I keep getting this error message (picture below). I am using xampp and connecting using the username root. the port also matches what it is telling me. It will let me proceed but a lot of the features are missing. Any help at all would be appreciated.

我是使用 MySQL 的新手,我需要为学校下载它,但是,我不断收到此错误消息(下图)。我正在使用 xampp 并使用用户名 root 进行连接。该端口也符合它告诉我的内容。它会让我继续,但缺少很多功能。任何帮助都将不胜感激。

Incompatible/nonstandard server version or connection protocol detected (10.0.10).

A connection to this database can be established but some MySQL Workbench features may not work properly since the database is not fully compatible with the supported versions of MySQL.

MySQL Workbench is developed and tested for MySQL Server versions 5.1, 5.5, 5.6 and 5.7

检测到不兼容/非标准的服务器版本或连接协议 (10.0.10)。

可以建立与该数据库的连接,但某些 MySQL Workbench 功能可能无法正常工作,因为该数据库与受支持的 MySQL 版本不完全兼容。

MySQL Workbench 是针对 MySQL Server 版本 5.1、5.5、5.6 和 5.7 开发和测试的

PICTURE HERE

图片在这里

回答by Ankit Pandey

As I can see, You are using latest XAMPP.

如我所见,您正在使用最新的 XAMPP。

All you need to do is, after opening MySQL Workbench, and instead of setting up a new connection, Press CTRL+Ror click on DATABASE tab in the top menu. Select Reverse Engineerand provide necessary information. You are good to go now.

您需要做的就是,在打开MySQL Workbench 后,不要设置新连接,而是按CTRL+R或单击顶部菜单中的 DATABASE 选项卡。选择反向工程并提供必要的信息。你现在可以走了。

The MySql workbench wont crash or show any compatibility issue now.

MySql 工作台现在不会崩溃或显示任何兼容性问题。

回答by C0MPU7ER

The current version of XAMPP uses MariaDB instead of MySQL.

XAMPP 的当前版本使用 MariaDB 而不是 MySQL。

Because MySQL Workbench is designed to work with MySQLand not with the very similar drop in replacement MariaDB, you are gonna have problems ...

因为 MySQL Workbench旨在与 MySQL一起使用,而不是在替换 MariaDB 的情况下非常相似,所以您会遇到问题......

So, if you want to use MySQL Workbench with XAMPP then a solution would be to try installing the lastversion of XAMPP that uses MySQL. That version is probably 1.8.3from (August of 2014?). You can download it here:

因此,如果您想将 MySQL Workbench 与 XAMPP 一起使用,那么解决方案是尝试安装使用 MySQL的最新版本的 XAMPP。该版本可能是(2014 年 8 月?)的1.8.3。您可以在这里下载:

XAMPP Sourceforge old versions

XAMPP Sourceforge 旧版本

回答by JiNexus

If you are using the latest XAMPP that uses MariaDB, in that case in your MySQL Workbench don't use 'Connect to Database' instead use 'Reverse Engineer' and provide the necessary credentials. That's all, No hassle.

如果您使用的是使用 MariaDB 的最新 XAMPP,在这种情况下,在您的 MySQL Workbench 中不要使用“连接到数据库”而是使用“逆向工程师”并提供必要的凭据。就是这样,没有麻烦。

回答by JPBlanc

I encounter the same message followed by a crash of MySQL Workbench, with version 6.3.7 (build 1199).

我遇到了同样的消息,然后是 MySQL Workbench 崩溃,版本为 6.3.7 (build 1199)。

I didn't find a solution, but here is a work-around:

我没有找到解决方案,但这里有一个解决方法:

Once you press the button Continue anyway, just open a database use toto, and then wait a bit (a minute is enough in my case), and then you can call a query without a crash. I found this trick here.

一旦按下按钮Continue anyway,只需打开一个数据库use toto,然后稍等(在我的情况下一分钟就足够了),然后您就可以调用查询而不会崩溃。我在这里找到了这个技巧。

回答by Orden

I experimented the same with WAMP 3.2.0.

我用 WAMP 3.2.0 做了同样的实验。

MariaDB was configured to listen to port 3306 (the usal MySQL port) and MySQL 8 was listening on port 3308. If you are in this case, don't be fooled by the fact you have 2 DBs.

MariaDB 配置为侦听端口 3306(常用的 MySQL 端口),而 MySQL 8 侦听端口 3308。如果您是这种情况,请不要被您有 2 个 DB 的事实所迷惑。

To solve this, you have to choose the DB you want. I wanted MySQL and I just ask MySQLWorkBench to open a connection on port 3308 to MySQL.

为了解决这个问题,你必须选择你想要的数据库。我想要 MySQL,我只是要求 MySQLWorkBench 在端口 3308 上打开一个到 MySQL 的连接。

回答by Odysseus Ithaca

You can ditch MySQL Workbench, and use the browser made for the MariaDB, they have a free version here: https://www.upscene.com/downloads/dbw

你可以放弃 MySQL Workbench,并使用为 MariaDB 制作的浏览器,他们在这里有一个免费版本:https: //www.upscene.com/downloads/dbw

It's limited in its abilities, but I had no troubles connecting and browsing.

它的功能有限,但我在连接和浏览时没有遇到任何问题。