Mam taki problem. Otóż stało mi się coś z phpmyadminem (nie mogę się do niego zalogować).
Próbowałem zmienić hasło itp. lecz to nic nie pomaga.
Próbowałem poprzez:
Kod: Zaznacz cały
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD("nowe_hasło") where user=’root’;
mysql> flush privileges;
/etc/init.d/mysql restart
mysql> quit
Kod: Zaznacz cały
An error occurred while installing the database:
│
│ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
│ password: YES)
│
│ If at this point you choose "retry", you will be prompted with all
│ the configuration questions once more and another attempt will be
│ made at performing the operation. "retry (skip questions)" will
│ immediately attempt the operation again, skipping all questions. If
│ you choose "abort", the operation will fail and you will need to
│ downgrade, reinstall, reconfigure this package, or otherwise manually
│ intervene to continue using it. If you choose "ignore", the
│ operation will continue, ignoring further errors from
│ dbconfig-common.
Kod: Zaznacz cały
/etc/init.d/mysql restart
Kod: Zaznacz cały
Checking for corrupt, not cleanly closed and upgrade needing tables..
Kod: Zaznacz cały
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
Kod: Zaznacz cały
mysqlcheck --repair --all-databases
Może ktoś mi pomóc bo męczę się już długo i czytałem dużo o tym, lecz nic jak dotąd mi nie pomogło.