Не удается подключиться к mysql из приложений, отличных от терминала

Я не могу подключиться к локальному серверу sql из DataGrip. Но он отлично работает прямо с терминала.

Любой, кто может видеть, что я делаю неправильно? Я не установил пароль, и я пробовал оба без пароля и с моим пользовательским паролем Ubuntu.

Я получаю эту ошибку При попытке подключения из DataGrip:

The specified user/password combination is rejected: [28000][1698] Access denied for user 'root'@'localhost

Он отлично работает с терминалом:

jeggy@jeggy-Lenovo-Z50-70:~$ sudo mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 16
Server version: 5.7.16-0ubuntu0.16.04.1 (Ubuntu)

Copyright (c) 2000, 2016, 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> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0,00 sec)
1
задан 31 January 2017 в 19:27

0 ответов

Другие вопросы по тегам:

Похожие вопросы: