Witam.
Niechcący za pomocą phpmyadmina usunąłem konto roota i teraz nie mogę się zalogować do bazy mysql. Jak można zrobić całkowitą reinstalację aby dodało mi konto root do mysqla?
Dodanie użytkownika root dla MySQL
Spróbuj
Kod: Zaznacz cały
dpkg-reconfigure nazwa_pakietu
Rozwiązałem problem. Udało mi się przeinstalować poprzez usuwanie z opcją "purge".
Edycja:
O co tu chodzi? Nie bardzo rozumiem. W phpmyadminie jest komunikat:
Edycja:
Kod: Zaznacz cały
1.38 Can I use phpMyAdmin on a server on which Suhosin is enabled?
Yes but the default configuration values of Suhosin are known to cause problems with some operations, for example editing a table with many columns and no primary key or with textual primary key.
Suhosin configuration might lead to malfunction in some cases and it can not be fully avoided as phpMyAdmin is kind of application which needs to transfer big amounts of fields in single HTTP request, what is something what Suhosin tries to prevent. Generally all suhosin.request.*, suhosin.post.* and suhosin.get.* directives can have negative effect on phpMyAdmin usability. You can always find in your error logs which limit did cause dropping of variable, so you can diagnose the problem and adjust matching configuration variable.
The default values for most Suhosin configuration options will work in most scenarios, however you might want to adjust at least following parameters:
suhosin.request.max_vars should be increased (eg. 2048)
suhosin.post.max_vars should be increased (eg. 2048)
suhosin.request.max_array_index_length should be increased (eg. 256)
suhosin.post.max_array_index_length should be increased (eg. 256)
suhosin.request.max_totalname_length should be increased (eg. 8192)
suhosin.post.max_totalname_length should be increased (eg. 8192)
suhosin.sql.bailout_on_error needs to be disabled (the default)
suhosin.log.* should not include SQL, otherwise you get big slowdown
You can also disable the warning using the SuhosinDisableWarning directive.
Kod: Zaznacz cały
Serwer działa pod ochroną Suhosina. Możliwe problemy opisuje dokumentacja.
php działa z łatą suhosin
http://www.hardened-php.net/suhosin/index.htmlSuhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections.
Unlike the PHP Hardening-Patch Suhosin is binary compatible to normal PHP installation, which means it is compatible to 3rd party binary extension like ZendOptimizer.