Azure MySQL FATAL Invalid Username specified Please check the Username and retry connection

In this article, we are going to find out solution for below error.

FATAL: Invalid Username specified. Please check the Username and retry connection. The Username should be in format.

Reason for Azure MySQL FATAL Invalid Username specified Please check the Username and retry connection

As mentioned in the error message, we have to give MySQL user name and @ and hostname.

Solution:

username must be username@hostname

If we give like above, we will not receive error in MySQL Workbench for Azure MySQL Database.