Застрявший на Кв. - добираются

У меня есть проблема в моей системе, где я не могу установить или удалить программы, использующие склонный - добираются из-за невстреченных зависимостей, однако я не могу установить зависимости, потому что я продолжаю получать ошибку:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  galera-3 libdbi-perl mysql-server mysql-server-5.7
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  plesk-config-troubleshooter psa-imp
0 upgraded, 0 newly installed, 2 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 20.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 118238 files and directories currently installed.)
Removing psa-imp (6.2.17-ubuntu16.04.build1705170314.14) ...
dpkg action:
 Trying to start service mysql... /usr/sbin/mysqld is stopped
done
 Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)

И Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) просто повторения много раз перед высказыванием

failed

ERROR while trying to establish test connection
Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again


establish test connection

***** installing problem report *****
ERROR while trying to establish test connection
Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again
establish test connection
dpkg: error processing package plesk-config-troubleshooter (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 psa-imp
 plesk-config-troubleshooter
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish

Проблема связана с mysql, как тогда, когда я пытаюсь выполнить mysql из любой учетной записи, является ли это учетной записью пользователя, администратором или корнем, я получаю ту же ошибку (с другим именем пользователя). После того, как поиск закрепляет в Интернете, я попытался использовать: mysqld --skip-grant-tables сопровождаемый mysql -u root mysql однако я просто получаю ту же ошибку ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO). Я попробовал также mysql -hxxx.xxx.xxx.xxx -uroot -p и получите эту ошибку: ERROR 2003 (HY000): Can't connect to MySQL server on 'xxx.xxx.xxx.xxx' (111) (IP заменил xxx),

Я также попытался редактировать /etc/my.cnf который я нашел в другом, ТАК отправьте, но файл пуст, а также sudo dpkg-reconfigure mysql-server который, как предполагается, изменяет пароль root, но он не помогает.

0
задан 15 April 2017 в 03:58

1 ответ

Кажется, что мой sql остановлен, попробуйте запустить службу, а затем снова работать. Это потому, что MySQL остановлен, вы не можете войти в MySQL. Вы можете запустить mysql либо sudo service mysql start, либо /etc/init.d/ mysql start, если у него есть скрипт инициализации.

0
ответ дан 3 November 2019 в 11:09

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

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