简体   繁体   中英

The response is not returned from Azure Database for MySQL when I try to connect from command prompt and MySQL Workbench

I run into the problem which I wrote as a Title.

The details are below.

Environments and Settings

  • using the Azure free plan.
  • created Azure Database for MySQL server (version 8.0).
  • Deny public network access: No
  • added firewall rule Start IP: 0.0.0.0 - End IP: 255.255.255.255.
  • Enforce SSL connection: DISABLED
  • Client OS: Windows 10 Pro Version 2004 OS Build 19041.685

Overview
Connection security

Ehenomenon

  • I can connect from Azure Cloud Shell.
  • I can connect from local DBeaver client (Community Edition 21.2.3).
  • However, I cannot connect from local Command Prompt or MySQL Workbench. The response is not returned.
    It seems to be hanged out. I allowed these apps to communicate via Windows Defender firewall.

Azure Cloud Shell
DBeaver

Command Prompt MySQL Workbench

Firewall

What's wrong? Please help.

It looks like there is a problem with the latest MySQL 8.0.27 release. I've encountered the same issues you describe when trying to connect using the command line from different MacOS and Linux machines.

There 's also a bug reported here: https://bugs.mysql.com/bug.php?id=105288 I suggest you add your findings to it as well.

I tried a bunch of different things before simply rolling back to 8.0.26, which still works fine for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM