Error in connecting to mysql?

've installed MySql server on linux mint connecting to the database through the terminal is successful:

root@latitude:~# mysql-uroot -p
Enter password: 
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.25-0ubuntu0.18.04.2 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>


But if you connect using MySql Workbench, I can't go.

5c9b89938f6ca155989527.png5c9b89a46b35a461899309.png

Also can't connect via jdbc( code working 100%), the username and password the same is true here and there.
March 19th 20 at 08:52
0 answer

Find more questions by tags MySQL