debian:/var/www/apache2-default# mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
killall mysqld
mysqld --skip-grant-tables --user=root
mysql
USE mysql;
UPDATE user SET password=password("newpassword") WHERE user="root";
flush privileges;
exit;
killall mysqld
/etc/init.d/mysqld start
Pakiet `mysql-server' nie jest zainstalowany i informacje o nim nie są dostępne.Użyj dpkg --info (= dpkg-deb --info), aby zobaczyć informacje o pakiecie,
oraz dpkg --contents (= dpkg-deb --contents), aby sprawdzić jego zawartość.
/usr/sbin/dpkg-reconfigure: mysql-server nie jest zainstalowany
debian:/home/gladi# mysqladmin ping
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!