Unable to set password for the MySQL "root" user An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. You should check the account's password after the package installation.
Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for more information.
deb [URL]http://ftp.de.debian.org/debian/[/URL] wheezy main contrib non-free
deb-src [URL]http://ftp.de.debian.org/debian/[/URL] wheezy main contrib non-free
deb [URL]http://security.debian.org/[/URL] wheezy/updates main contrib non-free
deb-src [URL]http://security.debian.org/[/URL] wheezy/updates main contrib non-free
deb [URL]http://ftp.de.debian.org/debian/[/URL] wheezy-updates main contrib non-free
deb-src [URL]http://ftp.de.debian.org/debian/[/URL] wheezy-updates main contrib non-free
System na VPS-ie to Debian 7, zainstalowany na openvz. Zakupiony w ultimahost.pl (pakiet ovz.4096MB). Niestety, ale po reinstalacji systemu problem powrócił.
Proszę o pomoc.
mysqladmin -u root password testhaslo
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
root 15714 1546 0 15:57 pts/0 00:00:00 grep mysql
[B]telnet 127.0.0.1 3306[/B]
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[B]mysql_upgrade[/B]
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock'
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
FATAL ERROR: Upgrade failed