Answer the question
In order to leave comments, you need to log in
How to solve MySQL problem?
For an hour I have been suffering with the problem of two errors (Before that, I installed MariaDB, but tried to tear everything to hell, like MySQL, nothing helps):
With sudo apt-get install mysql-server
dpkg: error processing package mysql-server-5.7 (--configure):
installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (237-3ubuntu10.45) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Securing the MySQL server deployment.
Enter password for user root:
Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Answer the question
In order to leave comments, you need to log in
I advise you to remove everything (sudo apt-get purge mysql\* libmysql\* ;
sudo apt autoremove) and install MySQL 8 from their repo https://computingforgeeks.com/how-to-install-mysql... .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question