@alex
here it is not working. When I run “mysqld_safe --skip-grant-tables &” I get:
root@b1c442b979f3:/# mysqld_safe --skip-grant-tables &
[1] 7
root@b1c442b979f3:/# Logging to ‘/var/lib/mysql/b1c442b979f3.err’.
2021-08-26T11:35:18.767225Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2021-08-26T11:35:18.989974Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[1]+ Done mysqld_safe --skip-grant-tables
Than I run “mysql_upgrade” and get this:
mysql_upgrade: Got error: 2002: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
Any Idea?